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/
"--wait-app" and "-W" are the same (MacOs Sequoia 15.5) :
Code:
-W, --wait-apps Blocks until the used applications are closed (even if they were already running).
Quote: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.
I didn't test all the “Nik” plugins: only Analog, Color and Silver work (in fact, I usually only use those). HDR launches but doesn't return the image. Sharpener, Viveza and Dfine crash. I'll investigate.
06-02-2025, 04:47 PM (This post was last modified: 06-02-2025, 04:58 PM by iiey.)
(05-28-2025, 11:28 PM)alderon Wrote: 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.
Hi alderon,
thank you for the detailed explanation Sorry that it didn't work out of the box for you and you had to do a lot of stuff.
During your trials with the plugin, there was also an issue in github about DxO Nik Collection so I also made changes to work better with this version. The latest one is v3.2.2-rc (will not showed .exe again without File/Folder Rename): https://github.com/iiey/nikgimp/issues/1...2902750494
You are right about uncompressed data. It would be nice if you could send me your code, maybe I can figure out an approach to adapt it in the main plugin without making TIF and JPG handling more complex.
(05-28-2025, 11:28 PM)alderon Wrote: 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.
Hi alderon,
thank you for the detailed explanation Sorry that it didn't work out of the box for you and you had to do a lot of stuff.
During your trials with the plugin, there was also an issue in github about DxO Nik Collection so I also made changes to work better with this version. The latest one is v3.2.2-rc (will not showed .exe again without File/Folder Rename): https://github.com/iiey/nikgimp/issues/1...2902750494
You are right about uncompressed data. It would be nice if you could send me your code, maybe I can figure out an approach to adapt it in the main plugin without making TIF and JPG handling more complex.
Thank you in advance!
Don't sorry lol If not you, I wouldn't have any working plugin, no chance I would port it from Gimp 2.0.