gimp r24924 - in trunk: . plug-ins/jpeg
- From: weskaggs svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r24924 - in trunk: . plug-ins/jpeg
- Date: Tue, 19 Feb 2008 19:37:06 +0000 (GMT)
Author: weskaggs
Date: Tue Feb 19 19:37:05 2008
New Revision: 24924
URL: http://svn.gnome.org/viewvc/gimp?rev=24924&view=rev
Log:
Bill Skaggs <weskaggs primate ucdavis edu>
* plug-ins/jpeg/jpeg-exif.c: correctly record dimensions when
saving an image. Fixes bug #517077.
Modified:
trunk/ChangeLog
trunk/plug-ins/jpeg/jpeg-exif.c
Modified: trunk/plug-ins/jpeg/jpeg-exif.c
==============================================================================
--- trunk/plug-ins/jpeg/jpeg-exif.c (original)
+++ trunk/plug-ins/jpeg/jpeg-exif.c Tue Feb 19 19:37:05 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]