[gimp/gimp-2-10] plug-ins: fix incorrect CMYK transform for the variant without alpha



commit ce41642ddd0a3df281b7d1ee0f981eb4d0688e99
Author: Jacob Boerema <jgboerema gmail com>
Date:   Tue Oct 26 17:56:29 2021 -0400

    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.
    
    (cherry picked from commit 5115021eacd05e15b52e46ce69662a7b8aa23c95)

 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 b212450413..0b0d167cdf 100644
--- a/plug-ins/file-psd/psd-load.c
+++ b/plug-ins/file-psd/psd-load.c
@@ -1233,7 +1233,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"),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]