writing xmp-plus tags CopyrightStatus

Started by the_wanderer, April 15, 2011, 07:40:28 PM

Previous topic - Next topic

the_wanderer

i've tried every method to get this to show up in photoshop file info but still does not take for a jpg file

switching print conv, quotes, double quotes, nothing works...

CopyrightStatus   string   'CS-PRO' = Protected


is the namespace correct?
http://ns.useplus.org/ldf/vocab/CS-PRO

Namespace URI is
http://ns.useplus.org/ldf/xmp/1.0/CopyrightStatus

any help?

Phil Harvey

If you are trying to write the XMP PLUS CopyrightStatus via the API, it goes like this:

    $exifTool->SetNewValue('XMP-plus:CopyrightStatus' => 'Protected');

- 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 ($).

the_wanderer

Quote from: the_wanderer on April 15, 2011, 07:40:28 PM
i've tried every method to get this to show up in photoshop file info but still does not take for a jpg file

switching print conv, quotes, double quotes, nothing works...

CopyrightStatus   string   'CS-PRO' = Protected


is the namespace correct?
http://ns.useplus.org/ldf/vocab/CS-PRO

Namespace URI is
http://ns.useplus.org/ldf/xmp/1.0/CopyrightStatus

any help?

i found the answer

  $eT->SetNewValue('XMP-xmpPLUS:CreditLineReq'      => 1);
  $eT->SetNewValue('XMP-xmpPLUS:ReuseAllowed'       => 0);
  $eT->SetNewValue('XMP-xmpRights:WebStatement'     => $url);
  $eT->SetNewValue('XMP-xmpRights:Owner'            => $author);
  $eT->SetNewValue('XMP-xmpRights:Marked'     => 1);