Jump to content

Write tag to PDF file doesn't seem to work


slowpork

Recommended Posts

yes M, here it is.

 

PS: I couldn't find a pdf without <x:xmpmeta>. Not sure if this helps.

 

before.pdf

 

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27        ">
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
     <rdf:Description rdf:about=""/>
  </rdf:RDF>
</x:xmpmeta>

 

------------

 

after.pdf

after adding one keyword "Daminion"

 

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27        ">
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
     <rdf:Description rdf:about=""
           xmlns:lr="http://ns.adobe.com/lightroom/1.0/">
        <lr:hierarchicalSubject>
           <rdf:Bag>
              <rdf:li>Daminion</rdf:li>
           </rdf:Bag>
        </lr:hierarchicalSubject>
     </rdf:Description>
     <rdf:Description rdf:about=""
           xmlns:dc="http://purl.org/dc/elements/1.1/">
        <dc:subject>
           <rdf:Bag>
              <rdf:li>Daminion</rdf:li>
           </rdf:Bag>
        </dc:subject>
     </rdf:Description>
     <rdf:Description rdf:about=""
           xmlns:xmp="http://ns.adobe.com/xap/1.0/">
        <xmp:MetadataDate>2014-10-07T23:19:43+07:00</xmp:MetadataDate>
     </rdf:Description>
     <rdf:Description rdf:about=""
           xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
           xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#">
        <xmpMM:InstanceID>xmp.iid:49CFAEA4284EE411B18BC4DFDC00F749</xmpMM:InstanceID>
        <xmpMM:DocumentID>xmp.did:49CFAEA4284EE411B18BC4DFDC00F749</xmpMM:DocumentID>
        <xmpMM:OriginalDocumentID>xmp.did:49CFAEA4284EE411B18BC4DFDC00F749</xmpMM:OriginalDocumentID>
        <xmpMM:History>
           <rdf:Seq>
              <rdf:li rdf:parseType="Resource">
                 <stEvt:action>saved</stEvt:action>
                 <stEvt:instanceID>xmp.iid:49CFAEA4284EE411B18BC4DFDC00F749</stEvt:instanceID>
                 <stEvt:when>2014-10-07T23:19:43+07:00</stEvt:when>
                 <stEvt:softwareAgent>Adobe Bridge CS6 (Windows)</stEvt:softwareAgent>
                 <stEvt:changed>/metadata</stEvt:changed>
              </rdf:li>
           </rdf:Seq>
        </xmpMM:History>
     </rdf:Description>
  </rdf:RDF>
</x:xmpmeta>               
<?xpacket end="w"?>

after.pdf

before.pdf

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...