short answer: you can't do it.

two ways to go at it:

- wait for lua support with introspection and do whatever you do in lua.

- while you wait for that to happen, you can use code along the lines of

https://github.com/darktable-org/darktable/blob/master/src/common/exif.cc#L1023

to decode the string in xmp and all the individual *_params_t structs
near the top of src/iop/*.c to attach semantics to the memory blob you
extract that way (if you do that be sure to also record the version of
the module, that's in the DT_MODULE(X) macro, same file, in case these
params change).

and then delete all that code once boucman is finished doing it the clean way ;)

cheers,
 jo


On Mon, Dec 17, 2012 at 10:01 AM, Alexandre Jullien
<[email protected]> wrote:
> Hello any idea to help me to read inside XMP files
> and decode blendop param or history param to make them "understandable" ?
>
> With exiftool I can read XML labels.
> But interesting parameters stored in blendop param (i think) still are in
> hexa... :-(
>
> Thanks for your help
>
>
> 2012/12/1 Alexandre Jullien <[email protected]>
>>
>> Hello,
>>
>> is-it possible to easily read XMP metadata outside of darktable ?
>> I've understood that it's done by "dt_exif_xmp_read_data" function of
>> exif.cc.
>>
>> I'm not a good at programming in C, my need is to get and set values in
>> XMP and use darktable in CLI to process timelapse.
>> Basically if I a command window:
>> >> dt_get_xmp_data myFile.XMP
>> Returns all XMP settings, I will be very happy !
>>
>> The ultime goal is to have something equivalent to LRtimelapse with
>> DarkTable (instead of LightRoom).
>> (deflickering, smooth tuning between frames, etc...)
>>
>> Thanks a lot.
>>
>> Alexandre
>
>
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> darktable-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/darktable-devel
>

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to