Gimp Plugin/fr
Jump to navigation
Jump to search
This article describes how to make it possible to have GIMP open raw images by using RawTherapee.
It currently describes the method only for Linux. Windows and macOS users are invited to contribute.
Requirements
- RawTherapee 5.2
- GIMP 2.9.5
- The
file-rawtherapeeplugin
Installation
- Perhaps in the future the RawTherapee installer or even GIMP itself will contain the plugin. For now you must compile it yourself.
- If you already have the source code, go into the
tools/gimp-pluginfolder. - If you do not have the source code, just download these files:
file-formats.handfile-rawtherapee.c
- If you already have the source code, go into the
- Compile the plugin:
gimptool-2.0 --build file-rawtherapee.c - Install the compiled plugin. To find GIMP's plugins folder run GIMP and look in Preferences > Folders > Plug-Ins. For example:
- Install for the current user only:
cp file-rawtherapee ~/.config/GIMP/2.9/plug-ins - Install for all users:
sudo cp file-rawtherapee /usr/lib/gimp/2.0/plug-ins
- Install for the current user only:
- Let the plugin find RawTherapee by making sure that
rawtherapeeandrawtherapee-cliexecutables can be found on$PATH:- If you installed RawTherapee system-wide using a package manager, you're probably all set.
- If you're running RawTherapee from some custom folder, e.g.
~/programs/rtthen you have two options:
- Either sudo-edit the
/etc/environmentfile and add a line like this but with the correct path:export PATH=$PATH:$HOME/programs/rt - Or symlink the executables into /usr/bin:
sudo ln -s ~/programs/rt/rawtherapee /usr/bin/rawtherapee && sudo ln -s ~/programs/rt/rawtherapee-cli /usr/bin/rawtherapee-cli
- Lastly, setup GIMP. Go to Edit > Preferences > Image Import and make sure that "Raw Importer" is set to the file-rawtherapee plugin.
- Done.