Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IPTC data not saved after Gimp editing

112 views
Skip to first unread message

Fr@nk Stef@ni

unread,
Jan 8, 2010, 7:12:43 AM1/8/10
to
[Ubuntu 9.10 Karmic Koala / Gimp-2.6.7]

Hello all,

I use a well thought image processing workflow
with many batch processing and scripts. Every time
I edit TIFF images (and probably others) in Gimp,
the IPTC data is thrown away by Gimp and will not
be saved in the resulting file.

This is bad .... but I have hope that someone here
knows a script or plugin or whatever to save IPTC data
in the image even after Gimp processing.

FWIF, it is *not* a solution to reopen processed
files with an EXIF/IPTC managing tool afterwards.
This would mess up an otherwise very efficient workflow.
The IPTC data is entered at the time of RAW processing
and transparently preserved throughout the whole workflow.

Except for the Gimp part :(

Any help appreciated!

TIA, Frank

Noons

unread,
Jan 8, 2010, 7:34:54 AM1/8/10
to
Fr@nk Stef@ni wrote,on my timestamp of 8/01/2010 11:12 PM:

>
> FWIF, it is *not* a solution to reopen processed
> files with an EXIF/IPTC managing tool afterwards.
> This would mess up an otherwise very efficient workflow.
> The IPTC data is entered at the time of RAW processing
> and transparently preserved throughout the whole workflow.
>
> Except for the Gimp part :(
>
> Any help appreciated!

is below an option?
1- extract all iptc to flat file with exiftool, before GIMP stage.
2- edit with GIMP
3- put IPTC info back in tiff file with exiftool, from flat file.

Fr@nk Stef@ni

unread,
Jan 8, 2010, 10:58:32 AM1/8/10
to
Noons schrieb:

When I first thought about this workaround, I had the
impression that this is error prone and I had to keep
track of what I'm doing when hundreds of files are
involved.

But then again, I discovered that the exiftool part is
as easy as

exiftool -TagsFromFile original.tif edited.tif

so no additional (text) files are needed. In fact, all
writeable tags will be copyed this way and thus the
edited file (edited.tif) should refer rather the same
tags as the original version (original.tif).

This is not bad as I may write a wrapper script or
enhance the already existing scripts to check whether
certain tags are in a file. If they are not, I could
copy the tags from the original file.

Thanks for this helpful hint which leads me to the
right direction ... though it would be best if Gimp
itself cared for the tags it currently throws away.

Frank

Noons

unread,
Jan 8, 2010, 9:00:28 PM1/8/10
to

Excellent! Thanks heaps for sharing!

Floyd L. Davidson

unread,
Jan 8, 2010, 11:47:54 PM1/8/10
to
"Fr@nk Stef@ni" <f...@despammed.com> wrote:
>But then again, I discovered that the exiftool part is
>as easy as
>
> exiftool -TagsFromFile original.tif edited.tif

exiftool -TagsFromFile original.tif -TagsFromFile edited.tif edited.tif

Rather that replacing the tags supplied by GIMP, the
above adds everything from the original to the edited
file.

--
Floyd L. Davidson <http://www.apaflo.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) fl...@apaflo.com

Fr@nk Stef@ni

unread,
Jan 9, 2010, 7:10:18 AM1/9/10
to
Floyd L. Davidson schrieb:

> "Fr@nk Stef@ni" <f...@despammed.com> wrote:
>> But then again, I discovered that the exiftool part is
>> as easy as
>>
>> exiftool -TagsFromFile original.tif edited.tif
>
> exiftool -TagsFromFile original.tif -TagsFromFile edited.tif edited.tif
>
> Rather that replacing the tags supplied by GIMP, the
> above adds everything from the original to the edited
> file.

I don't want Gimp to tag anything, so for my needs
copying everything from original.tif to edited.tif
works perfectly.

Just out of curiousity, do you know if and what tags
Gimp sets by itself, without telling the user?


Regards,

Frank

Floyd L. Davidson

unread,
Jan 9, 2010, 8:05:47 AM1/9/10
to
"Fr@nk Stef@ni" <f...@despammed.com> wrote:
>Floyd L. Davidson schrieb:
>> "Fr@nk Stef@ni" <f...@despammed.com> wrote:
>>> But then again, I discovered that the exiftool part is
>>> as easy as
>>>
>>> exiftool -TagsFromFile original.tif edited.tif
>>
>> exiftool -TagsFromFile original.tif -TagsFromFile edited.tif edited.tif
>>
>> Rather that replacing the tags supplied by GIMP, the
>> above adds everything from the original to the edited
>> file.
>
>I don't want Gimp to tag anything, so for my needs
>copying everything from original.tif to edited.tif
>works perfectly.

You *should* want GIMP tags...

>Just out of curiousity, do you know if and what tags
>Gimp sets by itself, without telling the user?

I use GIMP 2.7, which copies a full set of tags.

If you want to know what your particular version of GIMP
does, just run exiftool and a JPEG image you've written
with GIMP.

Noons

unread,
Jan 9, 2010, 8:28:32 PM1/9/10
to
Fr@nk Stef@ni wrote,on my timestamp of 9/01/2010 2:58 AM:

> But then again, I discovered that the exiftool part is
> as easy as
>
> exiftool -TagsFromFile original.tif edited.tif
>
> so no additional (text) files are needed. In fact, all
> writeable tags will be copyed this way and thus the
> edited file (edited.tif) should refer rather the same
> tags as the original version (original.tif).


One quick addenda:
exiftool -overwrite_original -TagsFromFile original.tif edited.tif
otherwise you end up with edited.tif duplicated.

Neal Stockett

unread,
Feb 4, 2010, 1:43:12 AM2/4/10
to

Which build of Gimp 2.7 are you using? And are you sure you are
getting IPTC keyword tags? I just tried 2.7.0 r28070 and it did not
seem to preserve the IPTC info.

0 new messages