From 9d837cc7712fcae2745f4e1994ae348e89622677 Mon Sep 17 00:00:00 2001 From: Jehan Date: Thu, 9 Feb 2023 14:48:52 +0100 Subject: [PATCH] Revert "libgimpcolor: fix call to cmsCreateProofingTransform()." This reverts commit f7e7f396aa750570d83e1cfc63fe8784eab3eb2c. See issue #8269. For GIMP 2.10, I'll just revert this commit so that we get back to pre-2.10.32 situation. ~~For 3.0, we'll try to do something better.~~ -> Let's delay improving the situation even for GIMP 3.0, in which case it's better to at least keep the same render as for the 2.10 series and avoid confusion. I'll take more time after release to study better the situation and see what we should actually do. (cherry picked from commit 2fd738bb3ee5d32d1fa0de1a310abb0da740953d) --- libgimpcolor/gimpcolortransform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgimpcolor/gimpcolortransform.c b/libgimpcolor/gimpcolortransform.c index 13d486c862..fee1466d11 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, - display_intent, proof_intent, + display_intent, flags | cmsFLAGS_SOFTPROOFING | cmsFLAGS_COPY_ALPHA);