Some other exif tags deleted after deleting UserComment

Started by Archive, May 12, 2010, 08:54:20 AM

Previous topic - Next topic

Archive

[Originally posted by bogdan on 2008-05-14 16:25:43-07]

Hi Phil,

Assume, I have total empty (no metadata) jpg file. Then I add Exif:UserComment tag only. After doing that, exiftool automatically add some other exif tags (resolution, etc.) -that's not a problem.

The problem is, if I would like to keep those automatically added tags. The problem is, if I then delete UserComment only, all previously added tags are deleted too -except I assign some other (than default) values to them.

Is that normal/expected behaviour?

Greetings,

Bogdan

Archive

[Originally posted by exiftool on 2008-05-14 16:35:57-07]

This is by design.  I thought it made sense that if you add a tag then
remove it again you end up with the file you started with.  So if you
delete a tag and only mandatory tags with the default values remain,
then they are deleted too.

If you want to keep the other mandatory tags, you could do something
like "-exifversion=0220" when you delete the UserComment tag.

- Phil

Archive

[Originally posted by bogdan on 2008-05-14 16:59:35-07]

Thank you for answering. It is really no big deal -I just want to be sure :-)

Bogdan