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



commit 348c9c22d08e934dc21b7d49f5f75238a7aea356
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.

 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 d950c4448e..645649b40d 100644
--- a/plug-ins/file-tiff/file-tiff-load.c
+++ b/plug-ins/file-tiff/file-tiff-load.c
@@ -611,9 +611,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]