gimp r24925 - in branches/gimp-2-4: . plug-ins/jpeg



Author: weskaggs
Date: Tue Feb 19 19:47:03 2008
New Revision: 24925
URL: http://svn.gnome.org/viewvc/gimp?rev=24925&view=rev

Log:
Bill Skaggs  <weskaggs primate ucdavis edu>

	Merged from trunk:

	* plug-ins/jpeg/jpeg-exif.c: correctly record dimensions when
	saving an image.  Fixes bug #517077.


Modified:
   branches/gimp-2-4/ChangeLog
   branches/gimp-2-4/plug-ins/jpeg/jpeg-exif.c

Modified: branches/gimp-2-4/plug-ins/jpeg/jpeg-exif.c
==============================================================================
--- branches/gimp-2-4/plug-ins/jpeg/jpeg-exif.c	(original)
+++ branches/gimp-2-4/plug-ins/jpeg/jpeg-exif.c	Tue Feb 19 19:47:03 2008
@@ -152,13 +152,13 @@
     }
 
   /* set the width and height */
-  if ((entry = exif_content_get_entry (exif_data->ifd[EXIF_IFD_0],
+  if ((entry = exif_content_get_entry (exif_data->ifd[EXIF_IFD_EXIF],
                                        EXIF_TAG_PIXEL_X_DIMENSION)))
     {
       exif_set_long (entry->data, byte_order,
                      (ExifLong) gimp_image_width (image_ID));
     }
-  if ((entry = exif_content_get_entry (exif_data->ifd[EXIF_IFD_0],
+  if ((entry = exif_content_get_entry (exif_data->ifd[EXIF_IFD_EXIF],
                                        EXIF_TAG_PIXEL_Y_DIMENSION)))
     {
       exif_set_long (entry->data, byte_order,



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