gasMask wrote:
MareroQ wrote:
The DrawableFilter could be easier than PDB, IDK, but it really depends on the documentation of a Gegl DrawableFilter.
I think that Python 3.11 is easier to program than Python 2.7 especially with VSCode. When the documentation of Gimp, GimpUi, Babl, etc. modules is done, it should be easier.
@contrast_ @gasMask Thanks a lot for sharing your examples, there are not a lot of it yet and it helps to start
I am currently using Visual Studio Code to write my Python scripts for Gimp. It works quite well, but what I do not get to work is to get the typings of "Gimp". I import the namespace with `from gi.repository import Gimp`, but there is no autocomplete.
With `from gi.repository import GLib, Gio` this works for GLib and Gio, probably because I added the typings with `pip install PyGObject-stubs`.
Is there any dependency I can install to get the Gimp bindings/types?
Yes you could make a python plugin but you are better off just applying GEGL filters on a layer group and then sharing the layer group as an .xcf file with others. Then anything they put inside the layer group will have the effects you want