[gimp] plug-ins: always save the color profile in file-psd



commit a35b243f9b1c5334ab3783e7219bf8aaf693ed78
Author: Michael Natterer <mitch gimp org>
Date:   Mon Dec 3 19:24:52 2018 +0100

    plug-ins: always save the color profile in file-psd
    
    by using gimp_image_get_effective_color_profile() instead of just
    _get_color_profile(). Don't look at the preference setting because PSD
    should behave more like "save" than "export" and save everything.

 plug-ins/file-psd/psd-save.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/file-psd/psd-save.c b/plug-ins/file-psd/psd-save.c
index 168c994bac..087273bee4 100644
--- a/plug-ins/file-psd/psd-save.c
+++ b/plug-ins/file-psd/psd-save.c
@@ -799,7 +799,7 @@ save_resources (FILE   *fd,
   {
     GimpColorProfile *profile;
 
-    profile = gimp_image_get_color_profile (image_id);
+    profile = gimp_image_get_effective_color_profile (image_id);
 
     if (profile)
       {


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