ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Mac2 on February 20, 2015, 10:36:09 AM

Title: xmp-exif:UserComment from exif:UserComment via Exif2XMP.args?
Post by: Mac2 on February 20, 2015, 10:36:09 AM
I run Exif2XMP.args to fill XMP from existing EXIF data. This works great, but the EXIF:UserComment tag is not copied to XMP-exif:UserComment.

I looked at the args file, but it does a

-XMP-exif:all < EXIF:all
-XMP-exifEX:all < EXIF:all
-XMP-tiff:all < EXIF:all


which looks good. Since there is sometimes a lot going on behind the ExifTool curtain so I thought I should ask.
Is xmp-exif:UserComment perhaps set from another tag?



Title: Re: xmp-exif:UserComment from exif:UserComment via Exif2XMP.args?
Post by: Phil Harvey on February 20, 2015, 10:57:42 AM
I get this:

> exiftool a.jpg -all=
    1 image files updated
> exiftool a.jpg -usercomment=test
    1 image files updated
> exiftool a.jpg -usercomment -a -G1
[ExifIFD]       User Comment                    : test
> exiftool a.jpg -@ arg_files/exif2xmp.args
    1 image files updated
> exiftool a.jpg -usercomment -a -G1
[ExifIFD]       User Comment                    : test
[XMP-exif]      User Comment                    : test


- Phil
Title: Re: xmp-exif:UserComment from exif:UserComment via Exif2XMP.args?
Post by: Mac2 on February 20, 2015, 12:43:53 PM
Oops, sorry  :-[
The file had an empty XMP-exif:UserComment, which overrides the EXIF data in the way I import/merge the data.
I apologize for wasting your time!