Skip to content

Commit 9e6f3e9

Browse files
dunkeronipsychedelicious
authored andcommitted
image channel multiply node loads as RGBA now
1 parent d3a40d8 commit 9e6f3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/app/invocations/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ class ImageChannelMultiplyInvocation(BaseInvocation, WithMetadata, WithBoard):
918918
invert_channel: bool = InputField(default=False, description="Invert the channel after scaling")
919919

920920
def invoke(self, context: InvocationContext) -> ImageOutput:
921-
image = context.images.get_pil(self.image.image_name)
921+
image = context.images.get_pil(self.image.image_name, "RGBA")
922922

923923
# extract the channel and mode from the input and reference tuple
924924
mode = CHANNEL_FORMATS[self.channel][0]

0 commit comments

Comments
 (0)