05-05-2024, 01:56 PM
(05-05-2024, 01:45 PM)JBreckeen Wrote: Yes, that is the method that I have used. But since the plugin is always active, I have to have the Menu plugin send the Gimp Image to the external script (Prism), and then have Prism send it back to the looping function plugin for processing in Gimp. It is working, but would be much easier and cleaner if there was an API to get the current image.
That would be very dangerous... You start the processing on some image, and while your process runs, the active image changes for any reason, so when the result comes back it would be applied to the new active image and not the image it was intended for. Your current scheme is more robust...