How PhotoShop does it (XMP)

  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8212
  • Loc: USA
  • Status: Offline

Post May 10th, 2008, 8:41 pm

: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...
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 10th, 2008, 8:41 pm

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6134
  • Loc: Seattle, WA
  • Status: Offline

Post May 10th, 2008, 9:51 pm

It is XML. The RDF, DC, XAP, etc. are namespaces.
The Beer Monocle. Classy.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post May 11th, 2008, 1:35 am

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.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8212
  • Loc: USA
  • Status: Offline

Post May 11th, 2008, 3:22 pm

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
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post May 11th, 2008, 6:48 pm

here ya go http://www.adobe.com/products/xmp/
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8212
  • Loc: USA
  • Status: Offline

Post May 11th, 2008, 7:52 pm

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?
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Post May 11th, 2008, 8:02 pm

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.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8212
  • Loc: USA
  • Status: Offline

Post May 11th, 2008, 9:20 pm

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?
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post May 11th, 2008, 11:07 pm

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
Let's leave all our *plum* where it is and go live in the jungle ...

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 156 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.