Am Sonntag, 25. August 2013, 12:51:53 schrieb Alexandre Jullien:
> Hello everybody,

Hi.

[modifying iop params from outside the module]

this is something I wanted to do for quite some time, however it requires some 
means of introspection to make sense of the module params. This would probably 
require some new API so that modules could decode their binary params blob. 
Doing it directly in code would be quite messy and prone to break whenever 
anything gets changed. It would also require us to invent some data format to 
convert the params to/from.

My hope is that some day™ LUA will be able to access the parameters of 
modules. Then we could write small scripts (maybe some day even with a GUI) 
that can interpolate between the parameters of two images over a whole set. 
But until that happens the only hope would be to write a small external tool 
that directly uses the struct definitions from the files in src/iop/* and 
breaks 
whenever these are changed.

TL;DR: would be nice but is hardly possible.

> Alexandre (Toulouse (31) / France)

Tobias

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to