[gimp/gimp-2-10] libgimpcolor: fix call to cmsCreateProofingTransform().
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] libgimpcolor: fix call to cmsCreateProofingTransform().
- Date: Sun, 24 Apr 2022 19:22:36 +0000 (UTC)
commit f7e7f396aa750570d83e1cfc63fe8784eab3eb2c
Author: Jehan <jehan girinstud io>
Date: Wed Apr 20 20:48:20 2022 +0200
libgimpcolor: fix call to cmsCreateProofingTransform().
Wrong argument order! See Little-CMS API.
(cherry picked from commit 1a840b8e180a604cedfc2294fce589663b9c27a6)
libgimpcolor/gimpcolortransform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimpcolor/gimpcolortransform.c b/libgimpcolor/gimpcolortransform.c
index b01f73956e..7e57016a9c 100644
--- a/libgimpcolor/gimpcolortransform.c
+++ b/libgimpcolor/gimpcolortransform.c
@@ -334,8 +334,8 @@ gimp_color_transform_new_proofing (GimpColorProfile *src_profile,
priv->transform = cmsCreateProofingTransform (src_lcms, lcms_src_format,
dest_lcms, lcms_dest_format,
proof_lcms,
- proof_intent,
display_intent,
+ proof_intent,
flags |
cmsFLAGS_SOFTPROOFING |
cmsFLAGS_COPY_ALPHA);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]