-
Notifications
You must be signed in to change notification settings - Fork 457
Description
Prerequisites
- I am running the latest version of ComfyUI
- I have searched existing issues to make sure this isn't a duplicate
- I have tested with all custom nodes disabled (see how)
What happened?
A single saving in MaskEditor | Image Canvas causes the image colors to be washed out / desaturated. No other operation (like painting) is needed to reproduce. This bug seriously damages inpainting.
Not related to browser, go into ComfyUI/input/clipspace and you notice the color difference in Windows photo viewer. This single saving creates 4 files:
clipspace-paint-1766934508449.png
clipspace-mask-1766934508449.png
clipspace-painted-1766934508449.png
clipspace-painted-masked-1766934508449.png
the first one is a completely black image, the second one has correct colors, and other two have washed out colors. Unfortunately the node seems to use the fourth one.
Happens with either Nodes 2.0 on or off. Latest fresh ComfyUI windows portable release (0.6.0) without custom nodes; latest frontend release (1.36.12).
Example
before (example.png in ComfyUI/input):

after

Steps to Reproduce
- Create a Load Image node and load any image, e.g. example.png in the input folder.
- Right click on the image and "Open Image", for later comparison.
- Right click on the image and "Open in MaskEditor | Image Canvas".
- Click "Save".
- Right click on the saved image and "Open Image".
- Compare the colors.
How is this affecting you?
Feature doesn't work as expected
ComfyUI Frontend Version
1.36.12
Browser
Firefox
Console Errors
Logs
Additional Context
No response
┆Issue is synchronized with this Notion page by Unito