Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "Change Colorspace" node to "Change Color Model" #2574

Merged
merged 6 commits into from
Feb 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@

@miscellaneous_group.register(
schema_id="chainner:image:change_colorspace",
name="Change Colorspace",
name="Change Color Model",
description=(
"Convert the colorspace of an image to a different one. "
"Convert the color model of an image to a different one. "
"Also can convert to different channel-spaces."
),
icon="MdColorLens",
Expand Down Expand Up @@ -59,7 +59,7 @@
)
],
)
def change_colorspace_node(
def change_color_model_node(
img: np.ndarray, input_: int, output: int, alpha: bool
) -> np.ndarray:
from_cs = color_space_or_detector_from_id(input_)
Expand Down
Loading