I just installed the free Nik Collection suite in Gimp, via the ShellOut script (I already have Nik Collection in PSP).
I was thrilled by the simplicity of the concept behind the ShellOut.py script, and I was wondering if there is something similar for PSP, or if it can be ported for PSP.
Gimp does NOT understand Ps .8bf plugins format (PSP does), but with ShellOut it doesn't have to.
When ShellOut is called from within Gimp's Filters menu, it presents a dialog with 2 options:
1. A 2-fold radio option: [As a new layer] OR [On current layer]
2. A drop-down list, so the user can select which program will be executed
Like so: http://prntscr.com/t56qz0
Which program will appear in the drop-down list, is defined inside ShellOut's python source-code. For each program, 3 things are defined:
* The name to be appeared in the drop-down list
* The full-path of the program in the user hard-disk
* The image extension to be used for that program (.png/.jpg/etc)
Here is an example of how I've tweaked the relative function for the Nik Collection:
Code: Select all
...
#program list function (globals are evil)
def listcommands(option=None):
#
# Insert additonal shell command into this list. They will show up in the drop menu in this order.
# Use the syntax:
# ["Menu Label", "command", "ext"]
#
# Where what gets executed is command fileame so include and flags needed in the command.
programlist = [
# Nik Collection
["NC DFine 2", "\"C:\\Program Files\\DxO\\Nik Collection\\Dfine 2\\Dfine2.exe\"", "png"],
["NC Sharpener Pro 3", "\"C:\\Program Files\\DxO\\Nik Collection\\Sharpener Pro 3\\SHP3OS.exe\"", "png"],
["NC Viveza 2", "\"C:\\Program Files\\DxO\\Nik Collection\\Viveza 2\\Viveza 2.exe\"", "png"],
["NC Color Efex Pro 4", "\"C:\\Program Files\\DxO\\Nik Collection\\Color Efex Pro 4\\Color Efex Pro 4.exe\"", "png"], # was: jpg
["NC Analog Efex Pro 2", "\"C:\\Program Files\\DxO\\Nik Collection\\Analog Efex Pro 2\\Analog Efex Pro 2.exe\"", "png"], # was: jpg
["NC HDR Efex Pro 2", "\"C:\\Program Files\\DxO\\Nik Collection\\HDR Efex Pro 2\\HDR Efex Pro 2.exe\"", "png"], # was: jpg
["NC Silver Efex Pro 2", "\"C:\\Program Files\\DxO\\Nik Collection\\Silver Efex Pro 2\\Silver Efex Pro 2.exe\"", "png"], # was: jpg
["","",""]
]
...
I find this both simple and brilliant. The nice thing about this is that even if the the external program is not configured to auto-save on exit, the user can manually Save the changes before closing the program (the filename is already known to the external program, because ShellOut launched it with that as an input argument: %temp%\ShellOutTempFile.png).
So what do you guys think? Is it possible to have something like that in PSP too?
It would speed up so much workflows that involve processing an image in more than 1 program.
