I was reading a tutorial and it said that the Gimp user could double-click a procedure in the PDB and a statement for that function would be created in the
Python console (underscores and all). That sounded neat, but it didn't work for me. Nothing happened.
>>>pdb.gimp_desaturate_full(drawable, desaturate_mode)
But I figured it out. If you open the PDB from the
Python Console, it works :-) Besides double-click, there is an "Apply" button. It works differently if you open from Help -> Procedure Browser. I usually start with the PDB to find something... and then wanting to try it out, I'd open the
Python Console. To be honest, it is documented:
https://docs.gimp.org/en/gimp-filters-python-fu.html, but it didn't sink in until I started using it.
New to Gimp
Python scripting should definitely use the PDB from the
Python Console, if using
Python.
I see script-fu also has a browse from the console.
One suggestion for the Procedure Browser: a checkbox to exclude deprecated functions. It would eliminate 188 procedures or a little over 13%.