[gimp] app: enable color management when the image is converted to a profile



commit c28244c49de3d0bd9109d051155ed18e96ff109c
Author: Michael Natterer <mitch gimp org>
Date:   Sun May 8 18:12:28 2016 +0200

    app: enable color management when the image is converted to a profile

 app/core/gimpimage-color-profile.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpimage-color-profile.c b/app/core/gimpimage-color-profile.c
index 9ac4e9d..2277a75 100644
--- a/app/core/gimpimage-color-profile.c
+++ b/app/core/gimpimage-color-profile.c
@@ -418,6 +418,7 @@ gimp_image_convert_color_profile (GimpImage                *image,
       break;
     }
 
+  gimp_image_set_is_color_managed (image, TRUE, TRUE);
   gimp_image_set_color_profile (image, dest_profile, NULL);
   /*  omg...  */
   gimp_image_parasite_detach (image, "icc-profile-name");


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