Thank you very much. I've managed to read/write tonecurve values into a 
text file. I did it to imitate Sony tonal curve.

With respect,
Alexander Rabtchevich



johannes hanika wrote:
> use
>
> src/common/exif.cc:dt_exif_xmp_decode
>
> to get binary from the strings in xmp, then map that to the params struct in
>
> src/iop/basecurve.c:dt_iop_basecurve_params_t
>
> and print the floats to get your values.
>
> or simpler, in
>
> src/iop/basecurve.c:commit_params
>
> uncomment lines 323 and 324
>
> and see the values on stdout every time you change the basecurve.
>
> j.
>
> On Sat, Feb 9, 2013 at 7:22 PM, Alexander Rabtchevich
> <[email protected]> wrote:
>> Hello
>>
>> Which file is responsible for reading/writing/parsing xmp files? I'm
>> interested in obtaining numeric values for basecurve points.
>>
>> With respect,
>> Alexander Rabtchevich
>>
>>


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to