The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Lower compress level of png sent on websocket.
comfyanonymous21063fa35b53
diff --git a/server.py b/server.pyindex 1a8e92b8f..9b1e3269d 100644--- a/server.py+++ b/server.py@@ -576,7 +576,7 @@ class PromptServer():bytesIO = BytesIO()header = struct.pack(">I", type_num)bytesIO.write(header)- image.save(bytesIO, format=image_type, quality=95, compress_level=4)+ image.save(bytesIO, format=image_type, quality=95, compress_level=1)preview_bytes = bytesIO.getvalue()await self.send_bytes(BinaryEventTypes.PREVIEW_IMAGE, preview_bytes, sid=sid)