01-17-2021, 11:15 PM
(01-17-2021, 01:19 PM)TheWaveWarden Wrote: Hi I'm using Gimp 2.10 on Debian. I'm trying to use the ofn-extract-objects script, but can't get it running.
I am fearly certain I installed it correctly, since when putting the .py file in the userspace plug-ins folder as well as the system folder, Gimp will say "Ignoring duplicate plugin". I also checked that the execution bit is set on the .py.
So maybe I am just blind? The documentation says
The script is called using the entries in the
sub-menu in the image window.Code:
Layer>Extract objects
I assume the "Layer" menu in the top-bar between "Image" and "Color" is meant? I have no "Extrace objects" menu in there. Am I looking in the wrong direction?
Have you got Python support installed for Gimp? On recent Ubuntu you need to explicitly install the gimp-python package. If you have Python support you should have a Filters>Python-fu>Console menu.
Gimp uses Python 2.7 which is now deprecated, so recent distros (Ubuntu 20.04, in particular) no longer install Python v2 by default, and have no gimp-python package in their repos (though it appears you can use those of earlier distros, after explciitly istalling Python v2).