![]() |
Converting python plugin-in shellout.py from gimp 2.x to 3.x - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Gimp 2.99 & Gimp 3.0 (https://www.gimp-forum.net/Forum-Gimp-2-99-Gimp-3-0) +--- Thread: Converting python plugin-in shellout.py from gimp 2.x to 3.x (/Thread-Converting-python-plugin-in-shellout-py-from-gimp-2-x-to-3-x) |
RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - Zbyma72age - 04-02-2025 (04-01-2025, 08:43 PM)iiii Wrote:(03-31-2025, 09:06 PM)Zbyma72wiek Wrote: I saved the new version 3.0.4. In my case, but in GIMP 2.10.36 there is the following rule of correct operation: Opening as layers, three images with different eg: EV 1, 0 ,-1 After which, as expected, the first window of the program opens, File => "Merge Dialog" in which, after the treatments and clicking "Create HDR" created HDR (created from three or more layers of different EV ) and passed to the opening second window HDR Efex Pro 2, where you can enter Tone Mapping and additional presets) and finally here after clicking OK, the correct HDR image is created, but also placed in Documents ie. The resulting image is not returned to GIMP. In GIMP 3.0.2-1 with the latest version (3.0.4) of the plug-in: I open 3 layers, only the first layer is displayed in the HDR Efex Pro 2 window (in the window that normally opens as the second one, where you can do Tone Mapping and enter additional presets) and finally here, after clicking OK, a "Fake HDR" is created. Only from the first layer. Also placed in Documents as "tmpNik_HDR.tif" (Plugin - jpg ??). In short, here's where the real problem lies. Maybe I'll say in passing that the first tutorials on the subject (in PL), I created 2016. This can be done for example: Filters => G`MIC => Colors => Color Granding here is inside an additional filter => HDR effect (tone map) and here set to a value of about 0.30 RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - iiey - 04-02-2025 Hi Zbyma72age, Quote:Also placed in Documents as "tmpNik_HDR.tif" (Plugin - jpg ??). The fact is that different users have different output settings in Nik Programs, which from GIMP perspective we cannot get this information. So for simplicity, we set it default to JPG. For the time being, could you please change the output setting of "HDR Efex Pro 2 > SETTINGS > IMAGE OUTPUT SETTING" to JPG, it should solve your issue where the image is not written back into GIMP. Make sure that all tmpNik* images get deleted from "Documents" before testing again. [attachment=13335] Quote:In my case, but in GIMP 2.10.36 there is the following rule of correct operation:Not really sure I understand correctly, would appreciate if you could post link to your video tutorial about this. I'm not a gimp power user like you guys, just a developer in other field, and from shellout.py script i read, it was not able to import multiple layers into HDR program too, but maybe I could try.. RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - denzjos - 04-03-2025 I also used the shellout.py plugin with gimp 2 for other than NIK programs. I tested the nikplugin.py with gimp 3 for the programs Riot and ShiftN and this programs work also without problems. So, many thanks iiey. I just put them in the Nik folder. [attachment=13337] RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - iiey - 04-03-2025 (04-03-2025, 06:16 PM)denzjos Wrote: I also used the shellout.py plugin with gimp 2 for other than NIK programs. I tested the nikplugin.py with gimp 3 for the programs Riot and ShiftN and this programs work also without problems. So, many thanks iiey. I just put them in the Nik folder. Hi denzjos, I'm happy to hear from you that it helped. ?? With the old script, we had to fill in static program paths. In the new version, it automatic searchs for .exe inside Nik folder. Thank for your feedback then I didn't do much wrong? ? RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - Zbyma72age - 04-03-2025 (04-02-2025, 10:34 PM)iiii Wrote: Cześć Zbyma72age, Najprostsza rada jest taka: Zaznaczam w folderze trzy pliki o EV np.: 1, 0,-1 i kopiuję je i przeciągam, przesuwam je na C:\Plik programów\Google\Kolekcja NIK\HDR Efex Pro 2\HDR Efex pro 2 (64bit)\HDR Efex Pro 2.exe Należy zwrócić uwagę, że to jest 3 lub np. 5 różnych zdjęć EV, co daje prawdziwy HDR, nie jest otrzymywany w chwili obecnej z nikplugin.py => Fake HDR. Wynik działania jest przekazywany do Documents np.: img0664ms1 -2_HDR.tif W GIMP 2.10.36 te 3 pliki otwieram jako awaryjne. Obrazy: Obraz GIMP 1, Obraz GIMP 2, Obraz GIMP 3, wynik => Dokumenty => ShellOutTempFile0_HDR.tif urządzenia, nie bawiłem się w ustawieniach tylko w użytkowych. W załączeniu wtyczki GIMP 2.10.x HDRefex2.zip Osobiście, gdy robię zdjęcia HDR, korzystam z oprogramowania SNS-HDR Pro lub Lite. [załącznik=13338] Nie wiem dlaczego, nie mogę załączyć pliku PDF with photos. RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - iiey - 04-04-2025 (04-03-2025, 09:46 PM)Zbyma72age Wrote: W załączeniu wtyczki GIMP 2.10.x HDRefex2.zip Thank for the attachment, now I understand you told about another variation shellout script which specified for "hdr efex pro 2" that i didn't know. Quote:nie bawiłem się w ustawieniach tylko w użytkowych. As said, if you want to use this plugin, then adapt the settings. In v3.1.0 is now able to process selected layers, see video demo. RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - denzjos - 04-04-2025 (04-03-2025, 07:41 PM)iiey Wrote:Nothing wrong with the nik plugin. The plugin itself searches for the programs within a certain path that you can even define yourself. This makes it possible to connect other programs to gimp via the plugin. Again, well done. Thank you.(04-03-2025, 06:16 PM)denzjos Wrote: I also used the shellout.py plugin with gimp 2 for other than NIK programs. I tested the nikplugin.py with gimp 3 for the programs Riot and ShiftN and this programs work also without problems. So, many thanks iiey. I just put them in the Nik folder. ![]() RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - sallyanne - 04-07-2025 Still trying to get nik collection into vs 3 of gimp. Tried copying the plugin I already have and pointed to the plugin in preferences - Well that didn't work of course as it was for vs 2.10 Downloaded the zip file from GC and after unzipping it uploaded to plugins, pointing to the plugin in preferences, - that didn't work. Finally tried downloading one from the net. (The link that is here) ran it and when it asked for a program? for it to be associated with I gave it the path of the vs 3 gimp plugin, then also pointed the plugin in preferences. I still can't see it. Each time I restarted gimp and I have deleted the previous plugins. I also restarted my computer. What am i doing wrong? How can I get it in gimp? RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - iiey - 04-07-2025 Hi sallyanne, Quote:Downloaded the zip file from GCWhich zip file did you mean? if "W załączeniu wtyczki GIMP 2.10.x HDRefex2.zip" is not the correct and should not work. Quote:Finally tried downloading one from the net. (The link that is here) ran it and when it asked for a program?Which link was that, normally it asks for nothing. Can you use this official download page and follow the instruction again? https://iiey.github.io/nikgimp [attachment=13350] Click there to download the latest version Best regards, RE: Converting python plugin-in shellout.py from gimp 2.x to 3.x - denzjos - 04-07-2025 (04-07-2025, 06:19 AM)sallyanne Wrote: Still trying to get nik collection into vs 3 of gimp. Have you tried with changing the path in the NIKplugin.py file? On my PC, windows 10, the files are on drive D, so I've changed the line in the plugin like this : [attachment=13352] |