I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-03-17 18:38:47.128133-07 by whisere
value in the same field under different tag name.
Thanks again for answering my last question! I notice there are GPSLatitude GPSLongitude tag under exif, xmp-exif and gps tag, It seems applications use different tags for gps information, eg I got image that only have GPSLatitude GPSLongitude under gps tag, some only have under xmp-exif tag. is there command to read GPSLatitude GPSLongitude etc not regarding to the group they belong to? if we use exiftool -GPSLatitude Which tag group is it getting from, is it getting from gps tag or it will search from gps, xmp-exif and exif? to make them all consistent do we need to write the same value to all these tag? is there command to write back to GPSLatitude GPSLongitude etc under all tag group (gps, xmp-exif, exif)? or exiftool -GPSLatitude=... is already working that way? Many thanks!
Direct Responses: 12562 | Write a response
Posted on 2010-03-18 04:16:23.177275-07 by exiftool in response to 12559
Re: value in the same field under different tag name.
You can use -G1 to see where the tags are coming from, and -a to extract duplicate tags if they exist.

Just specifying -gpslatitude will extract either the EXIF GPS version or the XMP-exif version, whichever exists. If both exist, it will extract the last one found in the file, which should be the XMP-exif version for JPEG images written according to the EXIF spec.

When writing, you only need to write gpslatitude and all versions will be updated, and the tag is added to EXIF if it doesn't already exist there. Or you can write a specific version with exif:gpslatitude or xmp:gpslatitude. This is all explained in the application documentation.

- Phil
Direct Responses: Write a response