nikgimp
A Python GIMP plugin for processing images using external Nik Collection programs.
Compatibility
Prerequisites: Make sure the Google Nik Collection is installed on your system before proceeding.
It was tested with the v1.2.11
, you could still find it on the internet
or try this download link Google Nik Collection v1.2.11,
which contains both Win & Mac installation.
- GIMP version
>= 3.0.0
- Windows 10, 11 (tested)
- Unix-like i.e. Linux with Wine & MacOS may need a little further fine-tune
Installation
- Create a folder named
nikplugin/
under the plug-ins folder of your GIMP installation - Copy nikplugin.py (latest) into the folder, e.g. under windows:
GIMP_INSTALLATION_PATH/lib/gimp/3.0/plug-ins/nikplugin/nikplugin.py
- (Re)start GIMP, the plugin should appear under the menu
Filters > NikCollection
Note: For details see Wiki - Installation
Note: See also TROUBLESHOOTING if encountering any issue or using a non-default location for Nik installation.
Update
- Replace the script with the latest version or stable releases
nikplugin.py
in this repository and restart GIMP
Uninstall
- Remove the folder
nikplugin/
from yourplugin-ins
directory
Usage
After installation, you can access the Nik Collection filters from GIMP’s Filters menu.
The plugin sends the current image to the selected Nik Collection program, and after processing, will return the result to GIMP.
See demo video.
License
This code revises the original shellout.py
script to make it compatible with the API in GIMP v3.x
.
It maintains the same functionality but updates the implementation to work with the GIMP Python API v3.0.
This plugin has the same license GNU GPLv3
as the original shellout.py script it’s based on.
RELEASE NOTES
To download certain nikplugin.py
version
- Click on the version number to go to the file with this specific version
- Click on “Download raw file” icon
v3.2.1 (2025-05-22)
Fixed:
- DxO programs not found
v3.2.0 (2025-04-10)
Added:
- Support finding DxO installation path (experimental)
v3.1.0 (2025-04-01)
Added:
- Handle multi-layer inputs for hdr efex pro 2
Changed:
- Refactor functions to reduce cognitive complexity
v3.0.5 (2025-04-01)
Fixed:
- Select active layer correctly for filter program
v3.0.4 (2025-03-30)
Changed:
- Improve code quality
Fixed:
- Don’t display warning message when cancelling hdr filter program
v3.0.3 (2025-03-30)
Changed:
- Enhance installation path detection
- Make Nik program invocation work with MacOS
v3.0.2 (2025-03-30)
Fixed:
- Handle troublesome hdr efex pro 2 internally
v3.0.1 (2025-03-25)
Changed:
- Create program list dynamically
v3.0.0 (2025-03-25)
Added:
- Make plugin compatible with Gimp
v3.x
previous versions:
- See shellout.py
Troubleshooting
Custom installation path
Specify path in the variable NIK_BASE_PATH
of the script to the location of your Nik Collection installation,
if you have installed the software in a non-default location.
Following paths are considered default if the software is here, you don’t need to adapt above path.:
- Linux with Wine:
$HOME/.wine/drive_c/Program Files/Google/Nik Collection
- macOS:
/Application/Nik Collection
- Win:
C:/Program Files/Google/Nik Collection
Plugin doesn’t show up in the menu
Please verify with these following checks.
In most case a new reinstallation of latest GIMP3 version resolves the issues.
After all, you could find posts, ask gimp-forum.net or file an issue report
with details.
1. Check plugin-ins
location
In GIMP, go to Edit > Preferences > Folders > Plug-ins
, ensure that we placed plugin folder in one of the listed directories there. This may differ between machine-wide and user installations.
2. Script folder
In GIMP3, the plugin script must be placed in a plugin folder with the same name as the script under plugin-ins
location.
I.e.: <PLUGIN_LOCATION>/nikplugin/nikplugin.py
and not <PLUGIN_LOCATION>/nikplugin.py
.
3. Verify GIMP installation
Ensure GIMP3 is properly installed with Python support:
- Add official demo plugin
GIMP_INSTALL/lib/gimp/3.0/plug-ins/test-dialog/
test-dialog.py - Restart GIMP and check if the test plugin appears under
Filters > Development > Demos
- If the
Test dialog...
plugin isn’t there either, then is not an issue with this plugin but general GIMP problem, a reinstallation may help.
4. Check file & permissions
- Ensure you downloaded the latest version of the plugin and the file content is intact, as Python is sensitive to indentation.
- Under Unix-like (linux & mac), the downloaded script must have executable permission:
chmod +x nikplugin.py
5. Test Python module availability
- Open
GIMP > Filters > Development > Python-Fu > Python Console
- Input these imports into the interpreter and press
Enter
:import gi gi.require_version("Gimp", "3.0") gi.require_version("GimpUi", "3.0") gi.require_version("Gegl", "0.4") from gi.repository import GLib from gi.repository import GObject from gi.repository import Gegl from gi.repository import Gimp from gi.repository import GimpUi from gi.repository import Gio from gi.repository import Gtk
Any error indicates that the necessary Python module is missing and it’s a GIMP issue that reinstallation may help.
6. Check for error messages
Run GIMP console in verbose mode from command-line:
GIMP_INSTALL/bin/gimp-console-3.0.exe --verbose
If error occurs, gimp reinstallation may resolve issue or file a report.
HDR Efex Pro 2 issues
Documents Folder Not Found
warning message:
**HDR Efex Pro 2: Folder not found**
Plugin cannot identify 'Documents' on your system
Solution:
- Modify the candidate_paths list in the
find_hdr_output()
function of yournikplugin.py
script to include your Documents folder location if you specified it differently from the default. -
To determine your Documents folder location, right-click on your ‘Documents’ folder and select
Properties > Location
(win). - Background information:
HDR Efex Pro 2 doesn’t override the input image when you click “Save”. Instead, it saves the output at
Documents/INPUT_FILENAME_HDR.ext
(win). Since GIMP Python cannot use additional lib (i.e.win32com.client
) to query the exact Documents path, it relies on common default locations.
Output File Not Found
warning message:
**HDR Efex Pro 2: File not found**
Plugin cannot find the output [filename] in 'Documents'
- The plugin found Documents folder
- But the expected output file wasn’t there after HDR Efex Pro 2 completed
This typically happens when:
- HDR Efex Pro 2 saved the file to a different location
- HDR Efex Pro 2 failed to save the file
- The file was saved with a different naming pattern than expected
Solution: When GIMP plugin starts the filter program, go to SETTINGS > IMAGE OUTPUT SETTINGS > Image Output Format > JPG
. It’s the default image format that the plugin expects.
Support
Feel free to ask questions at discussions.
Or report a bug on GitHub. Please ensure to check the reported issues and the troubleshooting first.
Buy me a coffee ☕, if you appreciate my work and found it helpful.