(01-29-2024, 10:59 PM)SpaceMonkey Wrote:Quote:because you removed the thing that describes the input arguments by commenting in out, instead of making it an empty list. But it's better to keep it in an have an image argument to your plugin, so you can work even if several images are open in Gimp:
Ah ok! I thought I could comment it out without any harm. Do I need at least one parameter, or is an empty bracket okay too?
You need a least the PF_IMAGE parameter (and the corresponding parameter in the function definition).
(01-29-2024, 10:59 PM)SpaceMonkey Wrote:Quote:So, given this the code sorta works(*) but:
- you save the image with its initial extension (say, PNG) even if you enforce the jpeg format.
I only open and save jpegs so that wont be an issue.
Until it becomes one