GNOME Bugzilla – Bug 323943
convert to jpeg format lost the exif information
Last modified: 2008-04-07 18:52:18 UTC
Version details: 2.6.8 Distribution/Version: gentoo exif information will be lost if we do a "outils --> convertir le format" ( may be tools, convert to format in english ) to jpeg. I don't understand why ( the jpeg support the EXIF info ) and the option will be greater to recompress some thousand pictures
do you mean that converting jpegs to jpegs doesn't preserve exif info?
When we do a convert to jpeg, the exif information will be remove on the new image After check, i think ( but not sure ) it related will this bug : #38503 : - Unfortunately the jpegtran utility does not preserve the location of the EXIF data, which causes some applications (apparently) to fail.
Confirmed in CVS HEAD. "Tools > Scale Images" and "Tools > Convert Format" do not preserve exif info. (You would use Convert Format to "convert" jpg to jpg when you wanted to adjust the compression settings.) The Image > Resize and other "Image" tools do preserve Exif info (except for the orientation tag, which has to be reset to top-left, and dimension tags if it's resized). For example, src/gth-browser.c and src/gth-viewer.c have code snippets like this to preserve exif data in jpegs (when using "Image" tools): if (priv->exif_data != NULL) jpeg_data_set_exif_data (jdata, priv->exif_data); jpeg_data_save_file (jdata, filename); jpeg_data_unref (jdata); write_orientation_field (filename, GTH_TRANSFORM_NONE); Something similar is needed in the code for "Tools > Scale Images" and "Tools > Convert Format" (the orientation tag reset may or may not be needed - not sure yet). - Mike
I just wanted to chip in and confirm that this is happening for me as well. It is really annoying as my digital camera takes photos in a very high definition and I need to scale them down to something more manageable before uploading them to my online gallery2 installation. At the moment my only option is to convert them through GIMP which retains the exif information while scaling.
Fixed in svn trunk rev 2314. Should appear in 2.11.0 and later. - Mike