[gimp] plug-ins: Fix babl formats in file-tiff-load



commit 5d950b36843a196e51cda4510de44e28b2cfb742
Author: Michael Henning <drawoc darkrefraction com>
Date:   Fri May 24 18:22:08 2013 -0400

    plug-ins: Fix babl formats in file-tiff-load

 plug-ins/common/file-tiff-load.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/plug-ins/common/file-tiff-load.c b/plug-ins/common/file-tiff-load.c
index 4a8a5fc..a33d94b 100644
--- a/plug-ins/common/file-tiff-load.c
+++ b/plug-ins/common/file-tiff-load.c
@@ -684,13 +684,13 @@ load_image (const gchar        *filename,
               image_type = GIMP_GRAY;
               layer_type = (alpha) ? GIMP_GRAYA_IMAGE : GIMP_GRAY_IMAGE;
               if (bps == 8 && alpha)
-                base_format = babl_format ("Y u8");
+                base_format = babl_format ("Y'A u8");
               else if (bps == 8 && !alpha)
-                base_format = babl_format ("Y u8");
+                base_format = babl_format ("Y' u8");
               else if (bps == 16 && alpha)
-                base_format = babl_format ("Y u16");
+                base_format = babl_format ("Y'A u16");
               else if (bps == 16 && !alpha)
-                base_format = babl_format ("Y u16");
+                base_format = babl_format ("Y' u16");
             }
           break;
 
@@ -755,9 +755,9 @@ load_image (const gchar        *filename,
           image_type = GIMP_RGB;
           layer_type = GIMP_RGBA_IMAGE;
           if (bps == 8)
-            base_format = babl_format ("RGBA u8");
+            base_format = babl_format ("R'G'B'A u8");
           else if (bps == 16)
-            base_format = babl_format ("RGBA u16");
+            base_format = babl_format ("R'G'B'A u16");
         }
 
       if (target == GIMP_PAGE_SELECTOR_TARGET_LAYERS)


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