[gthumb] reset the orientation tag when saving an image



commit 580b2041ae4e0da46fa6e4b53b904d41dfa8ba13
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Mar 29 19:57:16 2010 +0200

    reset the orientation tag when saving an image

 extensions/exiv2_tools/exiv2-utils.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/extensions/exiv2_tools/exiv2-utils.cpp b/extensions/exiv2_tools/exiv2-utils.cpp
index faedcbb..4cc9ab3 100644
--- a/extensions/exiv2_tools/exiv2-utils.cpp
+++ b/extensions/exiv2_tools/exiv2-utils.cpp
@@ -655,6 +655,8 @@ exiv2_write_metadata_private (Exiv2::Image::AutoPtr  image,
 		height = gdk_pixbuf_get_height (pixbuf);
 		if (height > 0)
 			ed["Exif.Photo.PixelYDimension"] = height;
+
+		ed["Exif.Image.Orientation"] = 0;
 	}
 
 	// Update the thumbnail



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