Hello,
i tried to write XMP Camera Name.
trying to use the following commands:
exiftool.exe -XMP-photoshop:UniqueCameraModel=42 .\Img.jpg
exiftool.exe -XMP-Camera:UniqueCameraModel=42 .\Img.jpg
resulting in the warning:
doesn't exist or isn't writable
the command
exiftool.exe -XMP:UniqueCameraModel=42 .\Img.jpg
results in
nothing to do
the documentation says string writeable
what's the correct syntax for writing the xmp camera name?
UniqueCameraModel is an element of the CameraProfiles structure, so it is written with the tag name CameraProfilesUniqueCameraModel.
- Phil
See XMP-photoshop tags (https://exiftool.org/TagNames/XMP.html#photoshop).
As a general rule, any tag listing that includes "Struct" in the header, e.g. "XMP Camera Struct", is not a tag you directly write. It lays out the template of a structured tag.
A good example is the XMP LocationDetails Struct (https://exiftool.org/TagNames/XMP.html#LocationDetails). This structure is used in both the LocationCreated and LocationShown tags. You can look at the entries on these two tags and the flattened versions of these tags under XMP-iptcExt tags (https://exiftool.org/TagNames/XMP.html#iptcExt).
See also the Structured Information page (https://exiftool.org/struct.html).