How PhotoShop does it (XMP)

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8416
  • Loc: USA

Post 3+ Months Ago

:lol: I didn't even think that I can view how Photoshop does it :shock:

Well, I tried my editing system on a PSD file... maybe many others have to but this discovery was a very interesting one for me... it's like they use XML or something...

Here is a sample of the "code" that is used to create the PSD file...
Code: [ Select ]
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:format>application/vnd.adobe.photoshop</dc:format>
<dc:title>
<rdf:Alt>
<rdf:li xml:lang="x-default">Green Layout</rdf:li>
</rdf:Alt>
</dc:title>
<dc:creator>
<rdf:Seq>
<rdf:li>Bogdan Lupandin</rdf:li>
</rdf:Seq>
</dc:creator>
<dc:description>
<rdf:Alt>
<rdf:li xml:lang="x-default">A green layout for a web site.</rdf:li>
</rdf:Alt>
</dc:description>
<dc:subject>
<rdf:Bag>
<rdf:li>Green Layout</rdf:li>
<rdf:li>Green</rdf:li>
<rdf:li>Layout</rdf:li>
<rdf:li>Web Site Template</rdf:li>
<rdf:li>Web</rdf:li>
<rdf:li>Site</rdf:li>
<rdf:li>Template</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:rights>
<rdf:Alt>
<rdf:li xml:lang="x-default">No copyright was set on this image.</rdf:li>
</rdf:Alt>
</dc:rights>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:xap="http://ns.adobe.com/xap/1.0/">
<xap:CreatorTool>Adobe Photoshop CS3 Windows</xap:CreatorTool>
<xap:CreateDate>2008-03-14T12:22:47-07:00</xap:CreateDate>
<xap:ModifyDate>2008-03-14T12:22:47-07:00</xap:ModifyDate>
<xap:MetadataDate>2008-03-14T12:22:47-07:00</xap:MetadataDate>
</rdf:Description>
  1. <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  2. <rdf:Description rdf:about=""
  3. xmlns:dc="http://purl.org/dc/elements/1.1/">
  4. <dc:format>application/vnd.adobe.photoshop</dc:format>
  5. <dc:title>
  6. <rdf:Alt>
  7. <rdf:li xml:lang="x-default">Green Layout</rdf:li>
  8. </rdf:Alt>
  9. </dc:title>
  10. <dc:creator>
  11. <rdf:Seq>
  12. <rdf:li>Bogdan Lupandin</rdf:li>
  13. </rdf:Seq>
  14. </dc:creator>
  15. <dc:description>
  16. <rdf:Alt>
  17. <rdf:li xml:lang="x-default">A green layout for a web site.</rdf:li>
  18. </rdf:Alt>
  19. </dc:description>
  20. <dc:subject>
  21. <rdf:Bag>
  22. <rdf:li>Green Layout</rdf:li>
  23. <rdf:li>Green</rdf:li>
  24. <rdf:li>Layout</rdf:li>
  25. <rdf:li>Web Site Template</rdf:li>
  26. <rdf:li>Web</rdf:li>
  27. <rdf:li>Site</rdf:li>
  28. <rdf:li>Template</rdf:li>
  29. </rdf:Bag>
  30. </dc:subject>
  31. <dc:rights>
  32. <rdf:Alt>
  33. <rdf:li xml:lang="x-default">No copyright was set on this image.</rdf:li>
  34. </rdf:Alt>
  35. </dc:rights>
  36. </rdf:Description>
  37. <rdf:Description rdf:about=""
  38. xmlns:xap="http://ns.adobe.com/xap/1.0/">
  39. <xap:CreatorTool>Adobe Photoshop CS3 Windows</xap:CreatorTool>
  40. <xap:CreateDate>2008-03-14T12:22:47-07:00</xap:CreateDate>
  41. <xap:ModifyDate>2008-03-14T12:22:47-07:00</xap:ModifyDate>
  42. <xap:MetadataDate>2008-03-14T12:22:47-07:00</xap:MetadataDate>
  43. </rdf:Description>

Looks like they are using some rdf syntax or something like that...
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6254
  • Loc: Seattle, WA

Post 3+ Months Ago

It is XML. The RDF, DC, XAP, etc. are namespaces.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23460
  • Loc: Woodbridge VA

Post 3+ Months Ago

It's known as XMP Data. Bogey, in Photoshop open an image you've created and go to File>File info. There you can add your own information to the XMP data, add copyright, your name, creation info, etc. I've started doing that to all my images. *note it's not the code that creates the image. Just information about the file. If I'm not mistaken Search engines use this data. Other than being informative I'm not certain what other uses it has at this moment.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8416
  • Loc: USA

Post 3+ Months Ago

ATNO/TW wrote:
It's known as XMP Data. Bogey, in Photoshop open an image you've created and go to File>File info. There you can add your own information to the XMP data, add copyright, your name, creation info, etc. I've started doing that to all my images. *note it's not the code that creates the image. Just information about the file. If I'm not mistaken Search engines use this data. Other than being informative I'm not certain what other uses it has at this moment.

Oh cool. That was the first time I saw that thing :lol: Thanks for clarifying though :D
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23460
  • Loc: Woodbridge VA

Post 3+ Months Ago

here ya go http://www.adobe.com/products/xmp/
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8416
  • Loc: USA

Post 3+ Months Ago

ATNO/TW wrote:
here ya go http://www.adobe.com/products/xmp/

Interesting... very interesting... So, it's possible to create a PHP application to read that XMP thing and provide information obtained from that on a web site? Something like file upload thing...

Thanks for sharing ATNO/TW...

Does OZZU use metadata?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23460
  • Loc: Woodbridge VA

Post 3+ Months Ago

I think you are getting excited and missing the point of XMP bogey. It's more of a collaborative information sharing among developers. When was the last time you saw a .psd file available for download. They are all finished products. XMP essentially is a tool for developmental groups to stay on track,at least that's the way I'm reading it.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8416
  • Loc: USA

Post 3+ Months Ago

ATNO/TW wrote:
I think you are getting excited and missing the point of XMP bogey. It's more of a collaborative information sharing among developers. When was the last time you saw a .psd file available for download. They are all finished products. XMP essentially is a tool for developmental groups to stay on track,at least that's the way I'm reading it.

No, I mean you said that search engines are using this data... if so, than they are extractable.

So, the XMP thing is for files only... correct? Like images... does it work for videos as well? Does it help page rank if search engines do use the XMP?
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6229
  • Loc: South-Africa

Post 3+ Months Ago

XMP is only applicable to Photoshop (.psd) files ... or actually most adobe files ... http://en.wikipedia.org/wiki/Extensible ... a_Platform

where photos from digital cameras have EXIF data ... http://en.wikipedia.org/wiki/Exif

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 42 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.