gthumb r2361 - in trunk: . src



Author: mjc
Date: Wed Jul 30 15:29:51 2008
New Revision: 2361
URL: http://svn.gnome.org/viewvc/gthumb?rev=2361&view=rev

Log:
2008-07-30  Michael J. Chudobiak  <mjc svn gnome org>

        * src/dlg-jpegtran.c: (apply_transformation__step2):
        If a no-physical-transformation rotation is requested, and the
        original jpeg has no exif orientation tag, then add the tag instead
        of doing a physical transform. Fixes bug #432756.



Modified:
   trunk/ChangeLog
   trunk/src/dlg-jpegtran.c

Modified: trunk/src/dlg-jpegtran.c
==============================================================================
--- trunk/src/dlg-jpegtran.c	(original)
+++ trunk/src/dlg-jpegtran.c	Wed Jul 30 15:29:51 2008
@@ -300,7 +300,7 @@
 	image_orientation = get_orientation_from_fd (file);
 	required_transform = get_next_transformation (image_orientation, at_data->data->transform);
 	if (mime_type_is (file->mime_type, "image/jpeg")) {
-		if (image_orientation && ! eel_gconf_get_boolean (PREF_ROTATE_RESET_EXIF_ORIENTATION, TRUE)) 
+		if (! eel_gconf_get_boolean (PREF_ROTATE_RESET_EXIF_ORIENTATION, TRUE)) 
 			/* Adjust Exif orientation tag. */
 			write_orientation_field (local_file, required_transform);
 		else { 



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