ExifTool Forum

ExifTool => Newbies => Topic started by: digicolllib on September 10, 2018, 03:35:02 PM

Title: Converting existing metadata to XMP-tiff
Post by: digicolllib on September 10, 2018, 03:35:02 PM
Hi all--

I am sure this question has been asked and answered a hundred times, but I am looking to convert existing metadata to the namespace "XMP-tiff". In particular, I know my files already have BitsPerSample, SamplesPerPixels, ImageLength, ImageWidth, Compression, XResolution, and YResolution, but I need to change them into the XMP-tiff group; in particular, I actually only want these converted, not all of my tags.

Do I use the "tagsfromfile" command? Or a different one?

Thanks in advance.
Title: Re: Converting existing metadata to XMP-tiff
Post by: StarGeek on September 10, 2018, 04:27:25 PM
If you only want those specific tags, then you would have to convert them individually e.g. "-XMP-tiff:TAG<EXIF:TAG".  But I'd suggest trying "-XMP-tiff:all<EXIF:all" first.  That would cover all XMP-tiff tags, though it might include a few other tags than the ones you listed.  Sorry, I'm not taking the time to look up all the tags in the XMP-tiff group and comparing them to your list ;)

That example is part of the exif2xmp.args file found in the main distribution.   It can also be found on Sourceforge (https://sourceforge.net/p/exiftool/code/ci/master/tree/arg_files/exif2xmp.args).