[gimp/gimp-2-10] plug-ins: fix tiff load of grayscale images without alpha.



commit d969cd7dc4b4b8276688685afbb4cc10823d1a40
Author: Jehan <jehan girinstud io>
Date:   Mon Jun 17 21:38:49 2019 +0200

    plug-ins: fix tiff load of grayscale images without alpha.
    
    Though we were checking the profile, both code paths were importing
    from non-linear data.
    
    (cherry picked from commit 348c9c22d08e934dc21b7d49f5f75238a7aea356)

 plug-ins/file-tiff/file-tiff-load.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/file-tiff/file-tiff-load.c b/plug-ins/file-tiff/file-tiff-load.c
index 03ebca01e1..a5e878ec37 100644
--- a/plug-ins/file-tiff/file-tiff-load.c
+++ b/plug-ins/file-tiff/file-tiff-load.c
@@ -628,9 +628,9 @@ load_image (GFile        *file,
                 {
                   if (profile_linear)
                     {
-                      base_format = babl_format_new (babl_model ("Y'"),
+                      base_format = babl_format_new (babl_model ("Y"),
                                                      type,
-                                                     babl_component ("Y'"),
+                                                     babl_component ("Y"),
                                                      NULL);
                     }
                   else


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