[gimp] Bug 761823: TIFF export generates corrupted output...



commit 79ce219a329361af49d199d3f134a46b057f86fa
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Sun May 1 19:57:37 2016 +0200

    Bug 761823: TIFF export generates corrupted output...
    
    ... if picture has EXIF

 plug-ins/file-tiff/file-tiff.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-tiff/file-tiff.c b/plug-ins/file-tiff/file-tiff.c
index 5135d13..aa57870 100644
--- a/plug-ins/file-tiff/file-tiff.c
+++ b/plug-ins/file-tiff/file-tiff.c
@@ -469,10 +469,11 @@ run (const gchar      *name,
 
                   /* See bug 758909: clear TIFFTAG_MIN/MAXSAMPLEVALUE because
                    * exiv2 saves them with wrong type and the original values
-                   * could be invalid
+                   * could be invalid, see also bug 761823
                    */
                   gexiv2_metadata_clear_tag (metadata, "Exif.Image.0x0118");
                   gexiv2_metadata_clear_tag (metadata, "Exif.Image.0x0119");
+                  gexiv2_metadata_clear_tag (metadata, "Exif.Image.PageNumber");
 
                   gimp_metadata_set_bits_per_sample (metadata, saved_bpp);
 


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