Python plug-in for GIMP3: RawTherapee editing plug-in

Hi,

I have written a GIMP3 plug-in. This is RawTherapee version of my “ART editing plug-in”. It uses RT as external editor of GIMP.

To use this plug-in, of course, RT and GIMP installation is needed.

Installation Steps:

  1. Download this plug-in, and install it in plug-in directory in GIMP personal profile directory.

  2. Edit config.ini file in RawTherapee_as_ext_editor_g3 directory adaptive to your environment. Default value of config.ini is as below. “#” is comment out sign.


[RawTherapee path on Windows]
COMMAND_NT;C:\\Program Files\\RawTherapee\\5.12\\RawTherapee

[RawTherapee path on Linux]
#COMMAND_LINUX;/usr/bin/rawtherapee
# If your RawTherapee is Flatpak version...
COMMAND_LINUX;flatpak run com.rawtherapee.RawTherapee

[RawTherapee path on Mac OS]
COMMAND_DARWIN;/Applications/RawTherapee.app/Contents/MacOS/RawTherapee

[Temp file bit depth]
TMP_FILE_BITDEPTH;16
# TMP_FILE_BITDEPTH specify temp file bit depth.
# The value of TMP_FILE_BITDEPTH must be 8, 16 or 32

[RawTherapee edited result pasted as layer]
IMPORT_AS_LAYER;False
# The value of IMPORT_AS_LAYER must be True or False
# Default is False (import as a new image)

[Delete RawTherapee sidecar files]
DELETE_ARPS;False
# The value of DELETE_ARPS must be True or False
# Default is False (keep sidecar files)

[Selected layers import mode]
IMP_SEL_LAYERS;False
# The value of IMP_SNGL_LAYER must be True or False
# Default is False (import visible image to RawTherapee)

In config.ini, specify the RT path, the bit depth of temporary file which will be imported in RT, how to handle image exported from darktalbe in GIMP, what image will be imported in RT and delete RT sidecar file.

In [RT edited result pasted as layer] parameter, you can decide whether RT exported image will be imported in GIMP as layer or as image.

In [Selected layers import mode] parameter, you can decide whether visible image will be imported in RT or only selected layer(s) will be imported.

How to use it:

  1. Start GIMP3.x. If you use GIMP Flatpak version, start it with ‘–socket=session-bus’ option to make it communicate with RT or other helper programs.

  2. If you set [Selected layers import mode] True in config.ini, select the layers of current image which you want to import.

  3. Start this plug-in from [Filters] > [RawTherapee editing plug-in …] in menu.

  4. After RT start, edit the image in RT.

  5. Close RT and the edited image will be loaded in GIMP.

1 Like

Hi,
I have fixed bugs in this program. No UI and usage are changed.