Hi, I am trying to extract tags from file using (sorry I am just a novice here)
exiftool -tagsfromfile source.jpg output.xmp
and this extracting all the data into xmp file, except "XMP-qg" tags.
But if I use
exiftool -tagsfromfile source.jpg -xmp output.xmp
now I see the "qg" tags (as it copies xmp packet), but I am missing some of "photoshop:" tags from output xmp.
I am enclosing the source file "ff.jpg".
So my question is, how to extract all the tags from this JPG file into xmp packet file. Can you please give the full command.
Thanks
Venkatesh
Hi Venkatesh,
If you copy the tags individually then ExifTool can only write the tags which are defined here (https://exiftool.org/TagNames/XMP.html). User-defined tags must be created to write anything else.
If you copy the XMP as a block (with -xmp), the the XMP is copied verbatim. There should be no missing XMP tags. Your second command does this.
The "photoshop:" tags you are missing are not XMP. In general, the Photoshop information can not be represented in XMP.
- Phil
Hi Phil,
Thanks once again for your response.
The QG namespace tags are from Quad Graphics company (so its custom).
So is there way I can extract all the tags including unknown/custom tags and write to XMP packet, in single command or multiple. please let me know.
Thanks
Venkat
Hi Venkat,
Quote from: itsjustvenky on November 16, 2016, 09:42:48 PM
So is there way I can extract all the tags including unknown tags and write to XMP packet, in single command or multiple.
What do you mean by "all the tags". If you're talking about XMP only, then the question has been answered. If you're talking about other types of tags too, then you must create user-defined XMP tags to receive all of the ones that don't already have counterparts in XMP.
- Phil
Thank you so much Phil.
I have another question.
What is the exact use of these two options
---------
-u (-unknown) Extract unknown tags
-U (-unknown2) Extract unknown binary tags too
---------------
-U also generates unknown tags for any unknown bytes in binary data blocks of the maker notes. There can be a large number of these for some camera models (eg. Canon, Nikon, Sony).
- Phil