diff src/thumb_standard.c @ 1567:c776b1310ca6

added an option to write image orientation to the metadata
author nadvornik
date Sun, 26 Apr 2009 09:01:35 +0000
parents 24a12aa0cb54
children 46284779a897
line wrap: on
line diff
--- a/src/thumb_standard.c	Sat Apr 25 22:08:09 2009 +0000
+++ b/src/thumb_standard.c	Sun Apr 26 09:01:35 2009 +0000
@@ -388,7 +388,7 @@
 		{
 		if (!tl->fd->exif_orientation)
 			{
-			tl->fd->exif_orientation = metadata_read_int(tl->fd, "Exif.Image.Orientation", EXIF_ORIENTATION_TOP_LEFT);
+			tl->fd->exif_orientation = metadata_read_int(tl->fd, ORIENTATION_KEY, EXIF_ORIENTATION_TOP_LEFT);
 			}
 		
 		if (tl->fd->exif_orientation != EXIF_ORIENTATION_TOP_LEFT)