Project

General

Profile

AdvancedExportBranch

This page is dedicated to issue #8496 and the darktable/advanced-export branch (christte fork).

Goal: Allow exported images to be post-processed automatically by an external program.

Done:
  • Standard export: Autocomplete DT-variables (like $(YEAR))
Todo:
  • generalize autocomplete code, to simplify reuse in other modules.
  • 3 modules: Support filename autocompletion (use GTK file dialog for inspiration?)
  • create/tweak gui mockups
  • think real hard

GUI mockup:

Requirements:
text pri (1st-3rd)
The module shall provide the same functionality as the current "export to file" module. 1st
The module shall export a single image and run a specified command with the image file name as a command line parameter. 1st
The module shall export multiple images and run a specified command with a list of image file names as a command line parameter. 2nd
The module shall export multiple images and run a specified command multiple times, once for each exported image. 2nd
The module shall support presets. 1st
Create additional variables: Number of exported files $(NUMIMAGES), ...
It shall be possible to delete the exported files after the command has run. 1st
It shall be possible to run a command on an exported file without configuring the file name. 1st
It shall be possible to specify a lua script for controlling the arguments given to the external program based on image attributes. 3rd
Allow Lua-scripts to ask for input from the user. This might be relevant when a password needs to be entered, or fps/size-parameters for video encoding. The Lua-script should be able to present a simple gui in a popup dialog, or as additional GtkTextEntry fields in the module. 3rd
The user shall be able to see stdout/stderr output from the external program 3rd
The user shall be able to interact with a command line program launched by the module 3rd
It shall be possible to kill the external program. 2nd
Make it possible to customize which metadata is added to the exported image, e.g. keywords, author, publisher etc.<br/>Input to the default export: Allow preferences setting to send all metadata to /dev/null. 3rd

Also available in: PDF HTML TXT