From 2f6358519f8d88218dd751dc0a548e327b4382f2 Mon Sep 17 00:00:00 2001 From: Michael Schmidt Date: Sat, 22 Jul 2023 15:32:40 +0200 Subject: [PATCH] Shorter names for channel inputs/outputs in Split/Merge Transparency (#1967) --- .../image_channel/transparency/transparency_merge.py | 4 ++-- .../image_channel/transparency/transparency_split.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/packages/chaiNNer_standard/image_channel/transparency/transparency_merge.py b/backend/src/packages/chaiNNer_standard/image_channel/transparency/transparency_merge.py index 537aa8ce6..254919eb8 100644 --- a/backend/src/packages/chaiNNer_standard/image_channel/transparency/transparency_merge.py +++ b/backend/src/packages/chaiNNer_standard/image_channel/transparency/transparency_merge.py @@ -16,8 +16,8 @@ description="Merge RGB and Alpha (transparency) image channels into 4-channel RGBA channels.", icon="MdCallMerge", inputs=[ - ImageInput("RGB Channels", allow_colors=True), - ImageInput("Alpha Channel", allow_colors=True, channels=1), + ImageInput("RGB", allow_colors=True), + ImageInput("Alpha", allow_colors=True, channels=1), ], outputs=[ ImageOutput( diff --git a/backend/src/packages/chaiNNer_standard/image_channel/transparency/transparency_split.py b/backend/src/packages/chaiNNer_standard/image_channel/transparency/transparency_split.py index 4598a9cc3..63ba3633a 100644 --- a/backend/src/packages/chaiNNer_standard/image_channel/transparency/transparency_split.py +++ b/backend/src/packages/chaiNNer_standard/image_channel/transparency/transparency_split.py @@ -20,13 +20,13 @@ inputs=[ImageInput(channels=[1, 3, 4])], outputs=[ ImageOutput( - "RGB Channels", + "RGB", image_type=navi.Image(size_as="Input0"), channels=3, assume_normalized=True, ), ImageOutput( - "Alpha Channel", + "Alpha", image_type=navi.Image(size_as="Input0"), channels=1, assume_normalized=True,