The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Support I mode images in LoadImageMask.
comfyanonymousb3b5ddb07a23
diff --git a/nodes.py b/nodes.pyindex 1ea0669b1..96d9e51a7 100644--- a/nodes.py+++ b/nodes.py@@ -1472,6 +1472,8 @@ class LoadImageMask:i = Image.open(image_path)i = ImageOps.exif_transpose(i)if i.getbands() != ("R", "G", "B", "A"):+ if i.mode == 'I':+ i = i.point(lambda i: i * (1 / 255))i = i.convert("RGBA")mask = Nonec = channel[0].upper()