[darktable-dev] Export from Lua

2016-11-14 Thread Pascal Obry
Hello Lua experts! I want to create a Lib (a bit like the Enfuse one in the lua-script repo) but I need to first export the RAW file as say TIF. Is there a way to export a set of RAW from Lua? I tried calling darktable-cli on command line, but as expected this does not work because of the db lock

Re: [darktable-dev] Export from Lua

2016-11-14 Thread Roman Lebedev
On Mon, Nov 14, 2016 at 4:53 PM, Pascal Obry wrote: > Hello Lua experts! > > I want to create a Lib (a bit like the Enfuse one in the lua-script > repo) but I need to first export the RAW file as say TIF. Is there a > way to export a set of RAW from Lua? > I tried calling darktable-cli on command

Re: [darktable-dev] Export from Lua

2016-11-14 Thread johannes hanika
On Mon, Nov 14, 2016 at 2:58 PM, Roman Lebedev wrote: > On Mon, Nov 14, 2016 at 4:53 PM, Pascal Obry wrote: >> Hello Lua experts! >> >> I want to create a Lib (a bit like the Enfuse one in the lua-script >> repo) but I need to first export the RAW file as say TIF. Is there a >> way to export a se

Re: [darktable-dev] Export from Lua

2016-11-14 Thread Pascal Obry
2016-11-14 15:17 GMT+01:00 johannes hanika : > i guess you can always explicitly add --library :memory: or something > to avoid locking? Even with that I get a locking issue! -- Pascal Obry / Magny Les Hameaux (78) The best way to travel is by means of imagination http://photos.obry.net

Re: [darktable-dev] Export from Lua

2016-11-14 Thread William Ferguson
Hi Pascal, The current way to export a set of RAWs and pass them on for further processing to an external process is to create a storage instead of a lib. Examples of this are contrib/hugin.lua and contrib/gimp.lua. If you give me a better idea of what you are trying to do, I'll try and give a be

Re: [darktable-dev] Export from Lua

2016-11-14 Thread Pascal Obry
Hi William, > The current way to export a set of RAWs and pass them on for further > processing to an external process is to create a storage instead of a > lib. Examples of this are contrib/hugin.lua and contrib/gimp.lua. I've done that in some other plug-ins indeed. But here I really want to c

Re: [darktable-dev] Export from Lua

2016-11-14 Thread William Ferguson
If it's going to act directly on RAWs, then you can just use the darktable.gui.action_images table. If you need to do an export behind the scenes, then look at https://github.com/wpferguson/lua-scripts/blob/plugin/lib/libPlugin.lua. There are two functions in there, libPlugin.build_image_table and

Re: [darktable-dev] Export from Lua

2016-11-14 Thread Pascal Obry
Hello William, > If it's going to act directly on RAWs, then you can just use the > darktable.gui.action_images table.  If you need to do an export > behind the scenes, then look at https://github.com/wpferguson/lua- > scripts/blob/plugin/lib/libPlugin.lua.  There are two functions in > there, li

[darktable-dev] Expired SSL certificate for www.darktable.org

2016-11-14 Thread code
It appears that the SSL certificate for www.darktable.org expired November 11, 2016. (Today is November 14, 2016.) Latest entry for www.darktable.org: https://crt.sh/?id=28259652 All entries for www.darktable.org: https://crt.sh/?q=www.darktable.org