The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
make LoadImagesMask work with non RGBA images
flyingshutter9d1c610b8975
diff --git a/nodes.py b/nodes.pyindex 187d54a11..d33760dfc 100644--- a/nodes.py+++ b/nodes.py@@ -915,6 +915,8 @@ class LoadImageMask:input_dir = folder_paths.get_input_directory()image_path = os.path.join(input_dir, image)i = Image.open(image_path)+ if i.getbands() != ("R", "G", "B", "A"):+ i = i.convert("RGBA")mask = Nonec = channel[0].upper()if c in i.getbands():