Hi all
I am trying to embed a XMP profile into a JPG file, but it does not work. I do:
convert sa_01l.jpg -profile xmp:test.xmp test.jpg
But nothing is being embedded. This is on MacOS X 10.5.4 with ImageMagik 6.4.2-4_1+q16 (installed via Macports).
Embedding XMP does not work
Re: Embedding XMP does not work
Strange, we get:
- convert logo: -profile xmp:test.xml test.jpg
identify -verbose test.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
...
Profiles:
Profile-xmp: 21870 bytes
Re: Embedding XMP does not work
Maybe we are doing the XML file wrong (but it never failed with any other application like Photoshop, etc.). Maybe you could quote your XML file so I can test it with yours?
Thank you.
Thank you.
Re: Embedding XMP does not work
Here is our XMP profile:
Code: Select all
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="3.1.1-112">
<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 350D DIGITAL</tiff:Model>
<tiff:Orientation>1</tiff:Orientation>
<tiff:XResolution>2400000/10000</tiff:XResolution>
<tiff:YResolution>2400000/10000</tiff:YResolution>
<tiff:ResolutionUnit>2</tiff:ResolutionUnit>
<tiff:NativeDigest>256,257,258,259,262,274,277,284,530,531,282,283,296,301,318,319,529,532,306,270,271,272,305,315,33432;83EF8D05AF241CA9C81D662E490CCF1C</tiff:NativeDigest>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:exif="http://ns.adobe.com/exif/1.0/">
<exif:ExifVersion>0221</exif:ExifVersion>
<exif:ExposureTime>1/1</exif:ExposureTime>
<exif:ShutterSpeedValue>0/1</exif:ShutterSpeedValue>
<exif:FNumber>22/1</exif:FNumber>
<exif:ApertureValue>8918863/1000000</exif:ApertureValue>
<exif:ExposureProgram>3</exif:ExposureProgram>
<exif:ISOSpeedRatings>
<rdf:Seq>
<rdf:li>100</rdf:li>
</rdf:Seq>
</exif:ISOSpeedRatings>
<exif:DateTimeOriginal>2007-06-30T19:02:24+01:00</exif:DateTimeOriginal>
<exif:DateTimeDigitized>2007-06-30T19:02:24+01:00</exif:DateTimeDigitized>
<exif:ExposureBiasValue>2/2</exif:ExposureBiasValue>
<exif:MeteringMode>5</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>25/1</exif:FocalLength>
<exif:CustomRendered>0</exif:CustomRendered>
<exif:ExposureMode>0</exif:ExposureMode>
<exif:WhiteBalance>0</exif:WhiteBalance>
<exif:SceneCaptureType>0</exif:SceneCaptureType>
<exif:FocalPlaneXResolution>3456000/874</exif:FocalPlaneXResolution>
<exif:FocalPlaneYResolution>2304000/582</exif:FocalPlaneYResolution>
<exif:FocalPlaneResolutionUnit>2</exif:FocalPlaneResolutionUnit>
<exif:PixelXDimension>663</exif:PixelXDimension>
<exif:PixelYDimension>2083</exif:PixelYDimension>
<exif:ColorSpace>-1</exif:ColorSpace>
<exif:NativeDigest>36864,40960,40961,37121,37122,40962,40963,37510,40964,36867,36868,33434,33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,41728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22,23,24,25,26,27,28,30;F4B91C814662CABD5B25B5A82B132B5C</exif:NativeDigest>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:xap="http://ns.adobe.com/xap/1.0/">
<xap:ModifyDate>2007-07-11T12:01:12+01:00</xap:ModifyDate>
<xap:Rating>0</xap:Rating>
<xap:CreateDate>2007-07-11T12:01:12+01:00</xap:CreateDate>
<xap:MetadataDate>2007-07-11T12:01:12+01:00</xap:MetadataDate>
<xap:CreatorTool>Adobe Photoshop CS2 Windows</xap:CreatorTool>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:creator>
<rdf:Seq>
<rdf:li>unknown</rdf:li>
</rdf:Seq>
</dc:creator>
<dc:format>image/jpeg</dc:format>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:aux="http://ns.adobe.com/exif/1.0/aux/">
<aux:SerialNumber>2630711820</aux:SerialNumber>
<aux:LensInfo>18/1 55/1 0/0 0/0</aux:LensInfo>
<aux:Lens>18.0-55.0 mm</aux:Lens>
<aux:ImageNumber>0</aux:ImageNumber>
<aux:FlashCompensation>0/1</aux:FlashCompensation>
<aux:OwnerName>unknown</aux:OwnerName>
<aux:Firmware>1.0.3</aux:Firmware>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/">
<crs:Version>3.7</crs:Version>
<crs:RawFileName>Image_0221.CR2</crs:RawFileName>
<crs:WhiteBalance>Auto</crs:WhiteBalance>
<crs:Temperature>3900</crs:Temperature>
<crs:Tint>+9</crs:Tint>
<crs:Exposure>+0.95</crs:Exposure>
<crs:Shadows>28</crs:Shadows>
<crs:Brightness>+35</crs:Brightness>
<crs:Contrast>+29</crs:Contrast>
<crs:Saturation>0</crs:Saturation>
<crs:Sharpness>25</crs:Sharpness>
<crs:LuminanceSmoothing>0</crs:LuminanceSmoothing>
<crs:ColorNoiseReduction>25</crs:ColorNoiseReduction>
<crs:ChromaticAberrationR>0</crs:ChromaticAberrationR>
<crs:ChromaticAberrationB>0</crs:ChromaticAberrationB>
<crs:VignetteAmount>0</crs:VignetteAmount>
<crs:ShadowTint>0</crs:ShadowTint>
<crs:RedHue>0</crs:RedHue>
<crs:RedSaturation>0</crs:RedSaturation>
<crs:GreenHue>0</crs:GreenHue>
<crs:GreenSaturation>0</crs:GreenSaturation>
<crs:BlueHue>0</crs:BlueHue>
<crs:BlueSaturation>0</crs:BlueSaturation>
<crs:FillLight>0</crs:FillLight>
<crs:Vibrance>0</crs:Vibrance>
<crs:HighlightRecovery>0</crs:HighlightRecovery>
<crs:HueAdjustmentRed>0</crs:HueAdjustmentRed>
<crs:HueAdjustmentOrange>0</crs:HueAdjustmentOrange>
<crs:HueAdjustmentYellow>0</crs:HueAdjustmentYellow>
<crs:HueAdjustmentGreen>0</crs:HueAdjustmentGreen>
<crs:HueAdjustmentAqua>0</crs:HueAdjustmentAqua>
<crs:HueAdjustmentBlue>0</crs:HueAdjustmentBlue>
<crs:HueAdjustmentPurple>0</crs:HueAdjustmentPurple>
<crs:HueAdjustmentMagenta>0</crs:HueAdjustmentMagenta>
<crs:SaturationAdjustmentRed>0</crs:SaturationAdjustmentRed>
<crs:SaturationAdjustmentOrange>0</crs:SaturationAdjustmentOrange>
<crs:SaturationAdjustmentYellow>0</crs:SaturationAdjustmentYellow>
<crs:SaturationAdjustmentGreen>0</crs:SaturationAdjustmentGreen>
<crs:SaturationAdjustmentAqua>0</crs:SaturationAdjustmentAqua>
<crs:SaturationAdjustmentBlue>0</crs:SaturationAdjustmentBlue>
<crs:SaturationAdjustmentPurple>0</crs:SaturationAdjustmentPurple>
<crs:SaturationAdjustmentMagenta>0</crs:SaturationAdjustmentMagenta>
<crs:LuminanceAdjustmentRed>0</crs:LuminanceAdjustmentRed>
<crs:LuminanceAdjustmentOrange>0</crs:LuminanceAdjustmentOrange>
<crs:LuminanceAdjustmentYellow>0</crs:LuminanceAdjustmentYellow>
<crs:LuminanceAdjustmentGreen>0</crs:LuminanceAdjustmentGreen>
<crs:LuminanceAdjustmentAqua>0</crs:LuminanceAdjustmentAqua>
<crs:LuminanceAdjustmentBlue>0</crs:LuminanceAdjustmentBlue>
<crs:LuminanceAdjustmentPurple>0</crs:LuminanceAdjustmentPurple>
<crs:LuminanceAdjustmentMagenta>0</crs:LuminanceAdjustmentMagenta>
<crs:SplitToningShadowHue>0</crs:SplitToningShadowHue>
<crs:SplitToningShadowSaturation>0</crs:SplitToningShadowSaturation>
<crs:SplitToningHighlightHue>0</crs:SplitToningHighlightHue>
<crs:SplitToningHighlightSaturation>0</crs:SplitToningHighlightSaturation>
<crs:SplitToningBalance>0</crs:SplitToningBalance>
<crs:ParametricShadows>0</crs:ParametricShadows>
<crs:ParametricDarks>0</crs:ParametricDarks>
<crs:ParametricLights>0</crs:ParametricLights>
<crs:ParametricHighlights>0</crs:ParametricHighlights>
<crs:ParametricShadowSplit>25</crs:ParametricShadowSplit>
<crs:ParametricMidtoneSplit>50</crs:ParametricMidtoneSplit>
<crs:ParametricHighlightSplit>75</crs:ParametricHighlightSplit>
<crs:ConvertToGrayscale>False</crs:ConvertToGrayscale>
<crs:ToneCurveName>Medium Contrast</crs:ToneCurveName>
<crs:ToneCurve>
<rdf:Seq>
<rdf:li>0, 0</rdf:li>
<rdf:li>32, 22</rdf:li>
<rdf:li>64, 56</rdf:li>
<rdf:li>128, 128</rdf:li>
<rdf:li>192, 196</rdf:li>
<rdf:li>255, 255</rdf:li>
</rdf:Seq>
</crs:ToneCurve>
<crs:CameraProfile>ACR 3.1</crs:CameraProfile>
<crs:HasSettings>True</crs:HasSettings>
<crs:HasCrop>False</crs:HasCrop>
<crs:AlreadyApplied>True</crs:AlreadyApplied>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/">
<photoshop:SidecarForExtension>CR2</photoshop:SidecarForExtension>
<photoshop:ColorMode>3</photoshop:ColorMode>
<photoshop:ICCProfile>Adobe RGB (1998)</photoshop:ICCProfile>
<photoshop:History/>
</rdf:Description>
<rdf:Description rdf:about=""
xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#">
<xapMM:DocumentID>uuid:303B63899D2FDC118774F57B17068D27</xapMM:DocumentID>
<xapMM:InstanceID>uuid:313B63899D2FDC118774F57B17068D27</xapMM:InstanceID>
<xapMM:DerivedFrom rdf:parseType="Resource">
<stRef:instanceID>uuid:2F3B63899D2FDC118774F57B17068D27</stRef:instanceID>
<stRef:documentID>uuid:2F3B63899D2FDC118774F57B17068D27</stRef:documentID>
</xapMM:DerivedFrom>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
<?xpacket end="w"?>