Writing to XMP Camera Name

Started by Rüdi, January 16, 2025, 02:50:23 AM

Previous topic - Next topic

Rüdi

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?

Phil Harvey

UniqueCameraModel is an element of the CameraProfiles structure, so it is written with the tag name CameraProfilesUniqueCameraModel.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

See XMP-photoshop tags.

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. 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.

See also the Structured Information page.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype