On Sun, Oct 21, 2018, at 21:57, Guy Rutenberg wrote:

> How can I create a new curve out of a series of node coordinates? I've
> tried to look at how the curves are saved in exported styles, and I see a
> base64 encoded string but I'm having a hard time guessing what the actual
> curve representation is. So, before I try to delve into the code it would
> be great if someone can point me to the format used to represent basecurves.

You might take a look at the curve tool for clues:
https://github.com/darktable-org/darktable/tree/master/tools/basecurve

To be honest, I never managed to get usable output from this tool, though. In 
the end, I found a good workflow for manual cruve creation. The trick is to use 
the "live samples" feature of the color picker 
<https://www.darktable.org/usermanual/en/global_color_picker.html>, creating 
one live sample per patch. You can then easily watch the effect on the values 
as you adjust the curve. I was able to get a good fit across the 22 patches on 
an IT8 chart with just 5 nodes added between 0,0 and 100,100... use the log 
view for adjusting the low end, and hold the ctrl key for finer adjustment of 
the nodes.

> (this is a followup to this discussion:
> https://discuss.pixls.us/t/comparing-darktable-and-capture-one-input-color-profile-for-sony-a6000/9485/8

Haven't had a chance to read that yet, sorry if anything I said is redundant.

-- 
jys
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to