Here's a Lightroom tone curve (saved):
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.5-c002 1.148022, 2012/07/15-18:06:45 ">
<rdf:Seq> <rdf:li>0, 0</rdf:li> <rdf:li>99, 92</rdf:li> <rdf:li>166, 156</rdf:li> <rdf:li>231, 223</rdf:li> <rdf:li>255, 255</rdf:li> </rdf:Seq>
and here's the same tone curve in a .dcpr file:
If that's not enough to go on, do tell..
Thanks Rob. So there's a one to one relationship between the curves is what I understand you are saying.
Knowing that, how would I a) go about getting my LR curve, and b) putting it into the .dcpr file?
So there's a one to one relationship between the curves is what I understand you are saying.
how would I a) go about getting my LR curve, and b) putting it into the .dcpr file?
Easiest way is to use a script I wrote (free):
'Transcribe Tone Curve'
which will transcribe the Lr tone curve in xmp format to an equivalent format which you can paste into your dcpr file.
To locate directories containing these files:
* Run script 'Camera Raw - Shared Folders'
Lr tone curves (in xmp) are in the 'Curves' folder and dcpr files are in a subfolder of 'CameraProfiles'.
Note: you must save the Lr tone curve for it to be in a file in said directory.
Holy sh.. Rob! How cool is the internet, and respectively you!?
Come with obscure problem, find answer in form of prewritten (free) script! Hot damn.
Might come back to you here once I've stumbled around. Not too hot on scripts and such.
Awesome, thanks man.
Thanks dwbell .
Please let me know (preferrably outside the forum) if that script gives you any trouble.
Rob, is the script doing anything more than copying the curve numbers from the saved tone curve to the DCPR file, something that could be done with a text editor?
DWBell, are you finding that the inverse S-curve is what you want in the DCPR file or just a linear curve, with both numbers in each pair the same?
is the script doing anything more
could be done with a text editor?
Could also be done using XSLT transformation, if you prefer. The script is just a convenience - if you are happy-enough using a text editor (or xslt) to do the job, then you don't need the script..
ssprengel - I expect the script to transcribe the tone curve and nothing else. As I have no code experience to speak of and several camera bodies profiles to cater to, I'm very pleased that there's a tool that does it for me.
Yes, it's the inverse S-curve I want transcribed into the DCPR file. They are similar in shape per camera, but with tone curves similar is not close enough, they need to be exactly the same.
In case some one reads this in the future and wants to go the textedit route. I have done it this way and it works.
What I did to make it easy for me (as in the DCPR file the tone curve language doesn't exist as such) is that I created exactly the number of points in the tone curve in DNG profile editor. This then creates the required entries into the text. These entries I then just changed the numeric values copied from the LR Curve file.
This does exactly what I wanted it too, and importantly a back to back comparison is visually transparent in the actual images.
Thanks again to both. Rob, I contacted you via your site about the scripts as requested.
Where i can download MiscLrScripts ?
I would like to try your technique, but how do you determine the target values for each of the gray squares on the Passport chart?