Posts: 7,499
Threads: 159
Joined: Oct 2016
Reputation:
1,044
Gimp version:
Operating system(s): Linux
04-27-2025, 05:50 PM
(This post was last modified: 04-27-2025, 05:53 PM by rich2005.)
Quote:For further users, please make sure to check out the wiki - installation & troubleshooting as written in the installation instruction, your problem may be listed there.
https://github.com/iiey/nikgimp/wiki/install
https://github.com/iiey/nikgimp/blob/mai...hooting.md
@iiey
Rule Number 1 - Never read the manual
Rule Number 2 - See Rule Number 1
Posts: 614
Threads: 45
Joined: Oct 2016
Reputation:
45
Gimp version:
Operating system(s): Windows 10
04-28-2025, 05:03 AM
(This post was last modified: 04-28-2025, 07:19 AM by sallyanne.)
@rich Still no joy here. I even pointed to the folder in preferences. And I did follow all your instructions. Thanks.
Not like I don't have it t all.
@iiey in you instructions you say to make sure it is executable. Do I need to do that with Windows? If so, how?
Rich and iiey I have finally got it! (I couldn't have had the latest plugin). I downloaded MareroQ's attachment,replaced the other py and now it is in Gimp 3.
Thanks for the patience with me.
Posts: 7,499
Threads: 159
Joined: Oct 2016
Reputation:
1,044
Gimp version:
Operating system(s): Linux
(04-28-2025, 05:03 AM)sallyanne Wrote: ...Still no joy here. I even pointed to the folder in preferences. And I did follow all your instructions. Thanks.
For the future 
No, best if you do not have to do that, Just put a plugin into its own folder (using the plugin name less extension) and put that folder into the Gimp 3.0 plugins folder. No need to mess with adding paths in preferences.
[quote[....in you instructions you say to make sure it is executable. Do I need to do that with Windows? If so, how? [\quote]
Not required for Windows
Quote:....I have finally got it! (I couldn't have had the latest plugin).
Hooray...
Posts: 33
Threads: 2
Joined: Mar 2025
Reputation:
0
Gimp version:
Operating system(s): Windows 11
Quote:Rich and iiey I have finally got it! (I couldn't have had the latest plugin). I downloaded MareroQ's attachment,replaced the other py and now it is in Gimp 3.
Hi sallyanne,
glad to here that it finally works for you.
What did you mean with the latest plugin? Just click here then your browser should download the latest version, right?
Where is the MareroQ's attachment, maybe it's something difference or not the latest version.
Posts: 3
Threads: 0
Joined: May 2025
Reputation:
0
Gimp version:
Operating system(s): OSX/MacOS
Hello!,
is there anybody who's try nikplugin.py on MacOs ? And if yes, did you have problems ?
I'm trying to explain my problem: nikplugin.py is installed correctly, the dialog box appears, you select the Nik plugin and, for example, “new layer”, the Nik plugin launches (color effect for instance), you play with it, you save but you get nothing back in Gimp!
I've noticed that when I choose “new layer from visible”, a new layer is created in Gimp when the Nik plugin is launched, but disappears immediately afterwards.
Any ideas?
Thanks! ?
Posts: 33
Threads: 2
Joined: Mar 2025
Reputation:
0
Gimp version:
Operating system(s): Windows 11
Hi duke2362,
Quote:I've noticed that when I choose “new layer from visible”, a new layer is created in Gimp when the Nik plugin is launched, but disappears immediately afterwards.
Gimp creates a placeholder layer to insert result back, when external filter program finishes saving the output image.
If it cannot find the output from its expected location (typically ~/Documents as I tested under Windows), it then deletes the placeholder layer.
The fact that I absolutely have no idea where Nik program (via command-line) stores output result on MacOS when we clicking on Save, so it's likely to not working on Mac currently.
I could fix it if I have a chance to test on Mac or someone maybe could tell me its storage location..
Whether it's DxO or Google Nik Collection would be matter too.
Posts: 2
Threads: 0
Joined: May 2025
Reputation:
0
Gimp version:
Operating system(s): Linux
Hi all,
I made nikplugin.py version 3.20 work on my PC, but one thing I wish to change. Instead of export in jpg, is it possible to change it to tif?
temp_path = os.path.join(tempfile.gettempdir(), f"tmpNik_{i}.jpg")
temp_files.append(temp_path)
changing here from tmpNik_{i}.jpg to tmpNik_{i}.tif kind of works. It will import TIF into Nik Collection program, I can save it as TIF there, but when Gimp import that file back, it's really tiny, like thumbnail. I have no idea, how to fix that.
Thanks.
Posts: 3
Threads: 0
Joined: May 2025
Reputation:
0
Gimp version:
Operating system(s): OSX/MacOS
Hi iiey,
The real problem is that when you launch the Nik plugin on MacOs, you go straight back to the script (unlike on Windows).
So I tested this solution:
Code:
# Run the external program
if sys.platform == "darwin":
prog_caller = ["open", "--wait-app", "-a"] #"--wait-app" blocks until the used applications are closed
And it seems to work for me. If anyone can test on a Mac...
Posts: 33
Threads: 2
Joined: Mar 2025
Reputation:
0
Gimp version:
Operating system(s): Windows 11
05-28-2025, 10:07 PM
(This post was last modified: 05-28-2025, 10:35 PM by iiey.)
(05-28-2025, 07:55 AM)duke2362 Wrote: Hi iiey,
The real problem is that when you launch the Nik plugin on MacOs, you go straight back to the script (unlike on Windows).
So I tested this solution:
Code:
# Run the external program
if sys.platform == "darwin":
prog_caller = ["open", "--wait-app", "-a"] #"--wait-app" blocks until the used applications are closed
And it seems to work for me. If anyone can test on a Mac... 
Hi duke2362,
You are right about the behavior, gimp should wait there until nik program finishes before importing the image back.
But I'm not sure whether the "--wait-app" option really exists for "open" command of mac osx, it should be "-W" actually. Maybe it differ from version to version, which macOS do you use?
https://ss64.com/mac/open.html
https://www.unix.com/man_page/osx/1/open/
My other question is, could you check where the HDR Efex Pro 2 saves your images after processing? If the location is not ~/Documents/ as nikplugin.py assumes then it may not work for you with this plugin.
(05-28-2025, 12:11 AM)alderon Wrote: Hi all,
I made nikplugin.py version 3.20 work on my PC, but one thing I wish to change. Instead of export in jpg, is it possible to change it to tif?
temp_path = os.path.join(tempfile.gettempdir(), f"tmpNik_{i}.jpg")
temp_files.append(temp_path)
changing here from tmpNik_{i}.jpg to tmpNik_{i}.tif kind of works. It will import TIF into Nik Collection program, I can save it as TIF there, but when Gimp import that file back, it's really tiny, like thumbnail. I have no idea, how to fix that.
Thanks.
Hi alderon,
I wonder what didn't work for you at first for you on PC and what did you modify to make it functional in your case?
So it could others if they have the same issue.
I could not recall which one of the Nik Collection didn't work with .tif but all of them can save as .jpg so I just simplified the code.
Actually, it's the correct way you did to replace the workflow with tif. I will check when I have time whether your problem can be reproduced.
Posts: 2
Threads: 0
Joined: May 2025
Reputation:
0
Gimp version:
Operating system(s): Linux
(05-28-2025, 10:07 PM)iiey Wrote:
(05-28-2025, 12:11 AM)alderon Wrote: Hi all,
I made nikplugin.py version 3.20 work on my PC, but one thing I wish to change. Instead of export in jpg, is it possible to change it to tif?
temp_path = os.path.join(tempfile.gettempdir(), f"tmpNik_{i}.jpg")
temp_files.append(temp_path)
changing here from tmpNik_{i}.jpg to tmpNik_{i}.tif kind of works. It will import TIF into Nik Collection program, I can save it as TIF there, but when Gimp import that file back, it's really tiny, like thumbnail. I have no idea, how to fix that.
Thanks.
Hi alderon,
I wonder what didn't work for you at first for you on PC and what did you modify to make it functional in your case?
So it could others if they have the same issue.
I could not recall which one of the Nik Collection didn't work with .tif but all of them can save as .jpg so I just simplified the code.
Actually, it's the correct way you did to replace the workflow with tif. I will check when I have time whether your problem can be reproduced.
Hi iiey,
Long story short: your (it is yours or I'm mistaken?) plugin works fine. I just had some "portable" version of Nik Collection. I downloaded some "free" version, because I wanted to see, if there's even anything worth upgrade from Google to latest NIK.
So, for Nik Collection v 8.0.12 I had to specify path to "bin" folder (where all .exe are) in the plugin (the "str" section). Plugin showed all exe files, which I didn't like much. Not big deal, but to make it more neat I changed filter from suffix .exe to prefix "Nik 8", because all programs starts from that. I have no idea about Python, so all changes are made with help of ChatGPT.
Now the problem with TIF was not export, but import back to GIMP. I figured this out by manually importing TIF file. Nik Collection was saving 2 pages in TIF. If I'm not mistaken with numbers: page 0 was full size file, page 1 was thumbnail and GIMP was loading page 1 as new layer. After bunch of trials and errors sent to ChatGPT, that AI crap finally made working changes. I don't want to make a mess, but I can send you the code. New code suppose to load whole TIF, check for biggest part/page of it and paste that part into new layer. It works now anyway.
I wanted TIF files, because when I edit my photos, I always work with uncompressed files and final TIF I export to jpg. So if I had jpg on the way, it's kind of bad for me.
Regards.
|