luadocs/content/lua.scripts.manual/scripts/contrib/gimp.md
Bill Ferguson b69d752221 [lua scripts] created manual from script comments
[lua scripts api] created manual from embedded library documentation

[lua api] created stub to contain lua api manual
2020-12-12 15:14:19 -05:00

1.5 KiB

title id weight draft author
gimp gimp 140 false people

Name

gimp.lua - export and edit with GIMP

Description

This script provides another storage (export target) for darktable. Selected images are exported in the specified format to temporary storage. GIMP is launched and opens the files. After editing, the exported images are overwritten to save the changes. When GIMP exits, the exported files are moved into the current collection and imported into the database. The imported files then show up grouped with the originally selected images.

Usage

  • require this script from your main lua file
  • select an image or images for editing with GIMP
  • in the export dialog select "Edit with GIMP" and select the format and bit depth for the exported image
  • Press "export"
  • Edit the image with GIMP then save the changes with File->Overwrite....
  • Exit GIMP
  • The edited image will be imported and grouped with the original image

Additional Software Required

Limitations

  • Developed and tested on Ubuntu 14.04 LTS with darktable 2.0.3 and GIMP 2.9.3 (development version with

    8 bit color)

  • There is no provision for dealing with the xcf files generated by GIMP, since darktable doesn't deal with them. You may want to save the xcf file if you intend on doing further edits to the image or need to save the layers used. Where you save them is up to you.

Author

Bill Ferguson - wpferguson@gmail.com