[gimp] libgimpcolor: fix call to cmsCreateProofingTransform().
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpcolor: fix call to cmsCreateProofingTransform().
- Date: Wed, 20 Apr 2022 18:54:46 +0000 (UTC)
commit 1a840b8e180a604cedfc2294fce589663b9c27a6
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.
libgimpcolor/gimpcolortransform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgimpcolor/gimpcolortransform.c b/libgimpcolor/gimpcolortransform.c
index 1f14f5e3cd..f5706a4dd6 100644
--- a/libgimpcolor/gimpcolortransform.c
+++ b/libgimpcolor/gimpcolortransform.c
@@ -357,8 +357,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]