Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Basic Tutorial Example
#2
(10-05-2025, 01:02 AM)elindarie Wrote: I don't know if this will help any other beginners on Gimp 3 Python scripting.
....snip...
To do this, it was a lot of hit and miss, and searching for other people's scripts and trying to find similar code in theirs.  Also, I don't really understand how to convert from pdb to non-pdb function calls and back.

I guess my next step is to convert this to a plug-in (.py) file.

I am in the same boat, looked at all the available advice, looked at numerous python plugins, left as totally baffled. I hate to say it but script-fu is a little (not much) easier.

It will come with time, there will be documentation that is above "hello world" in the python console but more readable than the present situation.

Anyway, as a dyed-in-the-wool dabbler and for my linear-code requirements I use a simple-ish shell. Your code applies like this, I cannot be bothered to change the registration Wink  The entry point where it goes is after #Create Filter (but filters are a bit of a mystery as well)   FWIW plugin attached.

   


Attached Files
.zip   for-gegl.zip (Size: 1.2 KB / Downloads: 6)
Reply


Messages In This Thread
Basic Tutorial Example - by elindarie - 10-05-2025, 01:02 AM
RE: Basic Tutorial Example - by rich2005 - 10-05-2025, 07:51 AM
RE: Basic Tutorial Example - by elindarie - 10-05-2025, 06:21 PM
RE: Basic Tutorial Example - by rich2005 - 10-05-2025, 06:46 PM

Forum Jump: