mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-06-05 02:52:09 +08:00

* get output format when saving to buffer * add unit tests for writing to file or stream with correct fmt * handle `to_format=None` * fix formatting