[gimp] plug-ins: fix incorrect CMYK transform for the variant without alpha
- From: Jacob Boerema <jboerema src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix incorrect CMYK transform for the variant without alpha
- Date: Tue, 26 Oct 2021 22:04:49 +0000 (UTC)
commit 5115021eacd05e15b52e46ce69662a7b8aa23c95
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.
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"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]