ExifTool Forum

ExifTool => The Image::ExifTool API => Topic started by: the_wanderer on April 15, 2011, 07:40:28 PM

Title: writing xmp-plus tags CopyrightStatus
Post by: 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?
Title: Re: writing xmp-plus tags CopyrightStatus
Post by: Phil Harvey on April 15, 2011, 08:14:54 PM
If you are trying to write the XMP PLUS CopyrightStatus via the API, it goes like this:

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

- Phil
Title: Re: writing xmp-plus tags CopyrightStatus
Post by: the_wanderer on April 15, 2011, 08:29:08 PM
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);