Skip to content

Instantly share code, notes, and snippets.

@keinajar
Created August 18, 2011 15:13
Show Gist options
  • Save keinajar/45c9f36bc9e6681478cd to your computer and use it in GitHub Desktop.
Save keinajar/45c9f36bc9e6681478cd to your computer and use it in GitHub Desktop.
XMP example (RDF) from unedited photo from Canon D450 (sidecar created with Lightroom)
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.2-c004 1.136881, 2010/06/10-18:11:35 ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:tiff="http://ns.adobe.com/tiff/1.0/">
<tiff:Make>Canon</tiff:Make>
<tiff:Model>Canon EOS 450D</tiff:Model>
<tiff:Orientation>1</tiff:Orientation>
<tiff:ImageWidth>4272</tiff:ImageWidth>
<tiff:ImageLength>2848</tiff:ImageLength>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:exif="http://ns.adobe.com/exif/1.0/">
<exif:ExifVersion>0221</exif:ExifVersion>
<exif:ExposureTime>1/500</exif:ExposureTime>
<exif:ShutterSpeedValue>8965784/1000000</exif:ShutterSpeedValue>
<exif:FNumber>4/1</exif:FNumber>
<exif:ApertureValue>4/1</exif:ApertureValue>
<exif:ExposureProgram>1</exif:ExposureProgram>
<exif:ISOSpeedRatings>
<rdf:Seq>
<rdf:li>1600</rdf:li>
</rdf:Seq>
</exif:ISOSpeedRatings>
<exif:ExposureBiasValue>0/1</exif:ExposureBiasValue>
<exif:MaxApertureValue>4/1</exif:MaxApertureValue>
<exif:SubjectDistance>349/100</exif:SubjectDistance>
<exif:MeteringMode>3</exif:MeteringMode>
<exif:Flash rdf:parseType="Resource">
<exif:Fired>False</exif:Fired>
<exif:Return>0</exif:Return>
<exif:Mode>2</exif:Mode>
<exif:Function>False</exif:Function>
<exif:RedEyeMode>False</exif:RedEyeMode>
</exif:Flash>
<exif:FocalLength>24/1</exif:FocalLength>
<exif:CustomRendered>0</exif:CustomRendered>
<exif:ExposureMode>1</exif:ExposureMode>
<exif:WhiteBalance>1</exif:WhiteBalance>
<exif:SceneCaptureType>0</exif:SceneCaptureType>
<exif:FocalPlaneXResolution>4272000/878</exif:FocalPlaneXResolution>
<exif:FocalPlaneYResolution>2848000/584</exif:FocalPlaneYResolution>
<exif:FocalPlaneResolutionUnit>2</exif:FocalPlaneResolutionUnit>
<exif:DateTimeOriginal>2011-08-18T17:17:20.02</exif:DateTimeOriginal>
<exif:PixelXDimension>4272</exif:PixelXDimension>
<exif:PixelYDimension>2848</exif:PixelYDimension>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:aux="http://ns.adobe.com/exif/1.0/aux/">
<aux:SerialNumber>980389980</aux:SerialNumber>
<aux:LensInfo>18/1 55/1 0/0 0/0</aux:LensInfo>
<aux:Lens>EF-S18-55mm f/3.5-5.6 IS</aux:Lens>
<aux:LensID>48</aux:LensID>
<aux:ImageNumber>0</aux:ImageNumber>
<aux:ApproximateFocusDistance>349/100</aux:ApproximateFocusDistance>
<aux:FlashCompensation>0/1</aux:FlashCompensation>
<aux:Firmware>1.0.9</aux:Firmware>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/">
<xmp:ModifyDate>2011-08-18T17:17:20.02</xmp:ModifyDate>
<xmp:CreateDate>2011-08-18T17:17:20.02</xmp:CreateDate>
<xmp:MetadataDate>2011-08-18T18:12:00+03:00</xmp:MetadataDate>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/">
<photoshop:DateCreated>2011-08-18T17:17:20.02</photoshop:DateCreated>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment