(01-18-2021, 10:45 AM)rich2005 Wrote: To me that does imply that python is working to a degree (ie. Gimp will say "Ignoring duplicate plugin")
Debian 10 buster (stable) comes with Gimp 2.10.8 and gimp-python packages. What comes with Debian testing or unstable, not sure.
@TheWaveWarden - more information please on what you are using. Debian / Gimp versions / Using a Chromebook linux installation etc ?
Also, you can edit the pluginrc file in your Gimp profile and search for ofn-extract-object, you should see something like:
Code:
(plug-in-def "/path/to/installed/ofn-extract-objects.py" 1600028527
(proc-def "python-fu-ofn-extract-objects-files" 1
"Extract objects to files"
"Extract objects to files\n/path/to/installed/ofn-extract-objects.py"
"Ofnuts"
"Ofnuts"
"2017"
"Extract objects to files..."
1
(menu-path "<Image>/Layer/Extract objects")
(icon icon-name -1 "")
"*"
7 0
(proc-arg 0 "run-mode" "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }")
(proc-arg 13 "image" "Input image")
(proc-arg 16 "layer" "Input layer")
(proc-arg 0 "resize" "Layer size")
(proc-arg 3 "threshold" "Alpha threshold")
(proc-arg 4 "directory" "Directory")
(proc-arg 4 "namePattern" "File name pattern"))
(proc-def "python-fu-ofn-extract-objects-layers" 1
"Extract objects to layers"
"Extract objects to layers\n/path/to/installed/ofn-extract-objects.py"
"Ofnuts"
"Ofnuts"
"2017"
"Extract objects to layers..."
1
(menu-path "<Image>/Layer/Extract objects")
(icon icon-name -1 "")
"*"
6 0
(proc-arg 0 "run-mode" "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }")
(proc-arg 13 "image" "Input image")
(proc-arg 16 "layer" "Input layer")
(proc-arg 0 "resize" "Layer size")
(proc-arg 3 "threshold" "Alpha threshold")
(proc-arg 4 "namePattern" "Layer name pattern")))
Where of course /path/to/installed/ is something else on your machine. The (menu-path items tells you where the menu entry is (<Image>/Layer is the Layer dropdown in the menu bar of an image window)