From 5115021eacd05e15b52e46ce69662a7b8aa23c95 Mon Sep 17 00:00:00 2001 From: Jacob Boerema Date: Tue, 26 Oct 2021 17:56:29 -0400 Subject: [PATCH] plug-ins: fix incorrect CMYK transform for the variant without alpha Probably due to a copy-paste error the case without alpha was also using the img->cmyk_transform_alpha instead of img->cmyk_transform. --- plug-ins/file-psd/psd-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plug-ins/file-psd/psd-load.c b/plug-ins/file-psd/psd-load.c index f7c5487a13..69d98dc04c 100644 --- a/plug-ins/file-psd/psd-load.c +++ b/plug-ins/file-psd/psd-load.c @@ -1412,7 +1412,7 @@ psd_convert_cmyk_to_srgb (PSDimage *img_a, g_object_unref (srgb); } - gimp_color_transform_process_pixels (img_a->cmyk_transform_alpha, + gimp_color_transform_process_pixels (img_a->cmyk_transform, babl_format ("cmyk u8"), src, babl_format ("R'G'B' float"),