Skip to content

Commit

Permalink
image channel multiply node loads as RGBA now
Browse files Browse the repository at this point in the history
  • Loading branch information
dunkeroni authored and psychedelicious committed Feb 11, 2025
1 parent d3a40d8 commit 9e6f3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invokeai/app/invocations/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ class ImageChannelMultiplyInvocation(BaseInvocation, WithMetadata, WithBoard):
invert_channel: bool = InputField(default=False, description="Invert the channel after scaling")

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

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

0 comments on commit 9e6f3e9

Please sign in to comment.