Hello everybody

I recently merged in master a first set of lua code that makes it usefull
for real-life usage

The general philosophy of lua in DT (for 1.4 at least) is that it is here
to help you automate your DAM.

i.e how you import/export with DT to/from other software
i.e automate as much as possible what you do in lighttable mode
i.e darkroom actions are out of scope


It is now possible to implement storages in lua (that is, add menu entries
where you have facebook/picassa/email/file-system when exporting)

an example of such a script can be found at

http://www.darktable.org/redmine/projects/darktable/wiki/LuaScripts

an introduction to lua in DT can be found at

http://www.darktable.org/redmine/projects/darktable/wiki/LuaUsage

and the lua API reference at

http://www.darktable.org/redmine/projects/darktable/wiki/LuaAPI


Now, I am looking for people to write some lua scripts to shake the bugs
out of the API.

here are a couple of ideas to get you going

* do an exporter that exports files to different directories depending on
colorlabels
* do an exporter that calls an external tool (stitcher, gimp...) then
reimport the resulting image
* not an exporter : automatically reload a directory on DT start (bonus
point if the directory can be set through a configuration option)

Please ask questions here or on IRC and add your script to the developers
wiki.





Plans for the future


Short term (couple of weeks at most)
these are highly desirable and/or simple features, I just need to code them
* add some easy features, in particular handling of groups and tags
* fix bugs
* monitor scripts to see what features are most needed/unclear
* implement ipairs on DT types

Medium term (needed for 1.4)
features that need more infrastructure, will probably be developed in a
branch then merged
* add events to do more stuff with lua (on import, on colorlable/tag
change, shortcut handling)
* add some form of automated documentation generation for the wiki (to be
used as a base for the darktable book)
* style and history manipulation

Long term (shouldn't be in 1.4)
these need complicated infrastructure and/or go against the philosophy
stated above
* modifying iop parameters from lua
* creating GUI elements from lua
* tethered mode handling
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to