Commit 580b2041 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

reset the orientation tag when saving an image

parent f0548ccc
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment