RSS/Atom feed Twitter
Site is read-only, email is disabled

Editing Photos and Maintaining Exif Information

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Editing Photos and Maintaining Exif Information Rainer Dorsch 10 Nov 15:14
  Editing Photos and Maintaining Exif Information Gary Aitken 10 Nov 18:36
   Editing Photos and Maintaining Exif Information Wolfgang Hugemann 11 Nov 11:58
Rainer Dorsch
2013-11-10 15:14:16 UTC (over 10 years ago)

Editing Photos and Maintaining Exif Information

Hello,

I usually use digikam for managing my photos collection and gimp to improve some photos.

In the past I simply saved under a different name and I had the orignal and the "improved" image in my digikam collection next to each other.

Now digikam moves the "improved" photo to the end of the collection.

digikam thinks that Time and Date of the photo changed.

exiv2 is also not happy with the modified IMG_0243b.JPG

Has anybody an idea, what is going wrong now?

rd@blackbox:~/Rohdaten/digiKam/Import$ exiv2 IMG_0243.JPG File name : IMG_0243.JPG
File size : 3876448 Bytes
MIME type : image/jpeg
Image size : 3888 x 2592
Camera make : Canon
Camera model : Canon EOS 1000D
Image timestamp : 2013:10:19 10:19:16 Image number :
Exposure time : 1/60 s
Aperture : F4
Exposure bias : 0 EV
Flash : Yes, compulsory
Flash bias : 0 EV
Focal length : 50.0 mm
Subject distance: 0
ISO speed : 400
Exposure mode : Auto
Metering mode : Multi-segment
Macro mode : Off
Image quality : Fine
Exif Resolution : 3888 x 2592
White balance : Auto
Thumbnail : image/jpeg, 8109 Bytes Copyright :
Exif comment :

rd@blackbox:~/Rohdaten/digiKam/Import$ exiv2 IMG_0243b.JPG Error: XMP Toolkit error 203: Duplicate property or field node Warning: Failed to decode XMP metadata. File name : IMG_0243b.JPG
File size : 3803375 Bytes
MIME type : image/jpeg
Image size : 3888 x 2592
Camera make : Canon
Camera model : Canon EOS 1000D
Image timestamp : 2013:10:19 10:19:16 Image number :
Exposure time : 1/60 s
Aperture : F4
Exposure bias : 0 EV
Flash : Yes, compulsory
Flash bias : 0 EV
Focal length : 50.0 mm
Subject distance: 0
ISO speed : 400
Exposure mode : Auto
Metering mode : Multi-segment
Macro mode : Off
Image quality : Fine
Exif Resolution : 3888 x 2592
White balance : Auto
Thumbnail : image/jpeg, 6556 Bytes Copyright :
Exif comment :

rd@blackbox:~/Rohdaten/digiKam/Import$

Many thanks, Rainer

Rainer Dorsch
http://bokomoko.de/
Gary Aitken
2013-11-10 18:36:42 UTC (over 10 years ago)

Editing Photos and Maintaining Exif Information

On 11/10/13 08:14, Rainer Dorsch wrote:

Hello,

I usually use digikam for managing my photos collection and gimp to improve some photos.

In the past I simply saved under a different name and I had the orignal and the "improved" image in my digikam collection next to each other.

Now digikam moves the "improved" photo to the end of the collection.

digikam thinks that Time and Date of the photo changed.

exiv2 is also not happy with the modified IMG_0243b.JPG

Has anybody an idea, what is going wrong now?

Try using
exiv2 -u -p a

There are a number of different timestamps, including:

Exif.Image.DateTime Ascii 20 2010:09:11 20:12:47 Exif.Photo.DateTimeOriginal Ascii 20 2010:09:08 14:14:47 Exif.Photo.DateTimeDigitized Ascii 20 2010:09:08 14:14:47

exiv2 without arguments prints Exif.Photo.DateTimeOriginal (I think that's the one it uses)
as the reported "Image timestamp"

Exif.Image.DateTime is the more correct date for when the image itself was generated.

Gary

Wolfgang Hugemann
2013-11-11 11:58:19 UTC (over 10 years ago)

Editing Photos and Maintaining Exif Information

Exif.Image.DateTime is the more correct date for when the image itself was generated.

I've just checked that and found this explanation to be correct.

But nevertheless, Gimp rewrites some other EXIF-Information it rather shouldn't, like Fnumber. Identifying the orignal photo with ImageMagick

identify -format "%[Exif:fnumber]" photo.jpg

yields e.g. 37/10, whereas the same command on the Gimp JPEG export yields f/3.7. I admit that's smarter, but has to be dealt with in my script. There are a few other data entries which are also deleted or modified.

When modifiying a JPEG image, Gimp should restrict rewriting of EXIF entries to those that have really been altered.

Wolfgang Hugemann