- Joined
- Oct 24, 2012
- Messages
- 1
- Reaction score
- 0
Hello!
I want to change in a ". Xmp" file attributes, but unfortunately my xml knowledge is very modest. So it would be great if I could find a solution for it.
Specifically i want to update the "crs:Temperature="5650"" attribute with a new Value.
(Below is the file)
But for now i could not finde a method that works in vb.net
I would be glad to get help!
Thank you!
PS.: sorry for my bad english!
I want to change in a ". Xmp" file attributes, but unfortunately my xml knowledge is very modest. So it would be great if I could find a solution for it.
Specifically i want to update the "crs:Temperature="5650"" attribute with a new Value.
(Below is the file)
But for now i could not finde a method that works in vb.net
I would be glad to get help!
Thank you!
PS.: sorry for my bad english!
Code:
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.3-c007 1.136881, 2010/06/10-18:11:35 ">
<rdf:RDF xmlns:rdf="org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:tiff="//ns.adobe.com/tiff/1.0/"
xmlns:exif="//ns.adobe.com/exif/1.0/"
xmlns:xmp="/ns.adobe.com/xap/1.0/"
xmlns:aux="/ns.adobe.com/exif/1.0/aux/"
xmlns:photoshop="//ns.adobe.com/photoshop/1.0/"
xmlns:xmpMM="/ns.adobe.com/xap/1.0/mm/"
xmlns:stEvt="/ns.adobe.com/xap/1.0/sType/ResourceEvent#"
xmlns:dc="/purl.org/dc/elements/1.1/"
xmlns:crs="/ns.adobe.com/camera-raw-settings/1.0/"
tiff:Make="NIKON CORPORATION"
tiff:Model="NIKON D90"
tiff:Orientation="1"
tiff:ImageWidth="4288"
tiff:ImageLength="2848"
exif:ExifVersion="0221"
exif:ExposureTime="1/80"
exif:ShutterSpeedValue="6321928/1000000"
exif:FNumber="8/1"
exif:ApertureValue="6/1"
exif:ExposureProgram="1"
exif:ExposureBiasValue="0/6"
exif:MaxApertureValue="36/10"
exif:MeteringMode="5"
exif:LightSource="10"
exif:FocalLength="100/10"
exif:SensingMethod="2"
exif:FileSource="3"
exif:SceneType="1"
exif:FocalLengthIn35mmFilm="15"
exif:CustomRendered="0"
exif:ExposureMode="1"
exif:WhiteBalance="1"
exif:SceneCaptureType="0"
exif:GainControl="0"
exif:Contrast="0"
exif:Saturation="0"
exif:Sharpness="0"
exif:SubjectDistanceRange="0"
exif:DigitalZoomRatio="1/1"
exif:DateTimeOriginal="2012-10-13T18:37:33.00"
exif:PixelXDimension="4288"
exif:PixelYDimension="2848"
xmp:CreatorTool="Ver.1.00"
xmp:ModifyDate="2012-10-13T18:37:33.00"
xmp:CreateDate="2012-10-13T18:37:33.00"
xmp:MetadataDate="2012-10-17T14:53:52+02:00"
aux:SerialNumber="6015224"
aux:LensInfo="100/10 240/10 35/10 45/10"
aux:Lens="10.0-24.0 mm f/3.5-4.5"
aux:LensID="161"
aux:ImageNumber="38819"
aux:ApproximateFocusDistance="4294967295/1"
photoshop:DateCreated="2012-10-13T18:37:33.00"
xmpMM:DocumentID="7A76B48A85ECB30D91391281BA98A764"
xmpMM:OriginalDocumentID="7A76B48A85ECB30D91391281BA98A764"
xmpMM:InstanceID="xmp.iid:E0FACEB35918E211A70889BAA84919F3"
dc:format="image/x-nikon-nef"
crs:Version="7.1"
crs:ProcessVersion="6.7"
crs:WhiteBalance="As Shot"
crs:Temperature="5650"
crs:Tint="-9"
crs:Saturation="0"
crs:Sharpness="25"
crs:LuminanceSmoothing="0"
crs:ColorNoiseReduction="25"
crs:VignetteAmount="0"
crs:ShadowTint="0"
crs:RedHue="0"
crs:RedSaturation="0"
crs:GreenHue="0"
crs:GreenSaturation="0"
crs:BlueHue="0"
crs:BlueSaturation="0"
crs:Vibrance="0"
crs:HueAdjustmentRed="0"
crs:HueAdjustmentOrange="0"
crs:HueAdjustmentYellow="0"
crs:HueAdjustmentGreen="0"
crs:HueAdjustmentAqua="0"
crs:HueAdjustmentBlue="0"
crs:HueAdjustmentPurple="0"
crs:HueAdjustmentMagenta="0"
crs:SaturationAdjustmentRed="0"
crs:SaturationAdjustmentOrange="0"
crs:SaturationAdjustmentYellow="0"
crs:SaturationAdjustmentGreen="0"
crs:SaturationAdjustmentAqua="0"
crs:SaturationAdjustmentBlue="0"
crs:SaturationAdjustmentPurple="0"
crs:SaturationAdjustmentMagenta="0"
crs:LuminanceAdjustmentRed="0"
crs:LuminanceAdjustmentOrange="0"
crs:LuminanceAdjustmentYellow="0"
crs:LuminanceAdjustmentGreen="0"
crs:LuminanceAdjustmentAqua="0"
crs:LuminanceAdjustmentBlue="0"
crs:LuminanceAdjustmentPurple="0"
crs:LuminanceAdjustmentMagenta="0"
crs:SplitToningShadowHue="0"
crs:SplitToningShadowSaturation="0"
crs:SplitToningHighlightHue="0"
crs:SplitToningHighlightSaturation="0"
crs:SplitToningBalance="0"
crs:ParametricShadows="0"
crs:ParametricDarks="0"
crs:ParametricLights="0"
crs:ParametricHighlights="0"
crs:ParametricShadowSplit="25"
crs:ParametricMidtoneSplit="50"
crs:ParametricHighlightSplit="75"
crs:SharpenRadius="+1.0"
crs:SharpenDetail="25"
crs:SharpenEdgeMasking="0"
crs:PostCropVignetteAmount="0"
crs:GrainAmount="0"
crs:ColorNoiseReductionDetail="50"
crs:LensProfileEnable="1"
crs:LensManualDistortionAmount="0"
crs:PerspectiveVertical="0"
crs:PerspectiveHorizontal="0"
crs:PerspectiveRotate="0.0"
crs:PerspectiveScale="100"
crs:AutoLateralCA="0"
crs:Exposure2012="0.00"
crs:Contrast2012="0"
crs:Highlights2012="0"
crs:Shadows2012="0"
crs:Whites2012="0"
crs:Blacks2012="0"
crs:Clarity2012="0"
crs:DefringePurpleAmount="0"
crs:DefringePurpleHueLo="30"
crs:DefringePurpleHueHi="70"
crs:DefringeGreenAmount="0"
crs:DefringeGreenHueLo="40"
crs:DefringeGreenHueHi="60"
crs:ConvertToGrayscale="False"
crs:ToneCurveName2012="Linear"
crs:CameraProfile="Camera Vivid"
crs:LensProfileSetup="LensDefaults"
crs:LensProfileName="Adobe (Nikon AF-S DX NIKKOR 10-24mm f/3.5-4.5G ED)"
crs:LensProfileFilename="NIKON D90 (Nikon AF-S DX NIKKOR 10-24mm f3.5-4.5G ED) - RAW.lcp"
crs:LensProfileDigest="F763F5EAF1DDDC85FE5563CFB5F17607"
crs:LensProfileDistortionScale="100"
crs:LensProfileChromaticAberrationScale="100"
crs:LensProfileVignettingScale="100"
crs:HasSettings="True"
crs:AlreadyApplied="False"
crs:RawFileName="DSC_6270.NEF">
<exif:ISOSpeedRatings>
<rdf:Seq>
<rdf:li>200</rdf:li>
</rdf:Seq>
</exif:ISOSpeedRatings>
<exif:Flash
exif:Fired="False"
exif:Return="0"
exif:Mode="0"
exif:Function="False"
exif:RedEyeMode="False"/>
<xmpMM:History>
<rdf:Seq>
<rdf:li
stEvt:action="saved"
stEvt:instanceID="xmp.iid:E0FACEB35918E211A70889BAA84919F3"
stEvt:when="2012-10-17T14:53:52+02:00"
stEvt:softwareAgent="Adobe Photoshop Lightroom 4.1 (Windows)"
stEvt:changed="/metadata"/>
</rdf:Seq>
</xmpMM:History>
<crs:ToneCurvePV2012>
<rdf:Seq>
<rdf:li>0, 0</rdf:li>
<rdf:li>255, 255</rdf:li>
</rdf:Seq>
</crs:ToneCurvePV2012>
<crs:ToneCurvePV2012Red>
<rdf:Seq>
<rdf:li>0, 0</rdf:li>
<rdf:li>255, 255</rdf:li>
</rdf:Seq>
</crs:ToneCurvePV2012Red>
<crs:ToneCurvePV2012Green>
<rdf:Seq>
<rdf:li>0, 0</rdf:li>
<rdf:li>255, 255</rdf:li>
</rdf:Seq>
</crs:ToneCurvePV2012Green>
<crs:ToneCurvePV2012Blue>
<rdf:Seq>
<rdf:li>0, 0</rdf:li>
<rdf:li>255, 255</rdf:li>
</rdf:Seq>
</crs:ToneCurvePV2012Blue>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>