(08-06-2023, 08:19 AM)Ofnuts Wrote: I'm not using both flags together, but in the loop to save the files, the first file is saved with RUN_INTERACTIVE and the rest is saved with RUN_WITH_LAST_VALS. And that doesn't end there, file-save-* plugins have different behavior, depending on the RUN_* they save the active layer or the whole image, so the code does a layer_new_from_visible to a new image and saves that.
Thanks for your explanations
(08-06-2023, 10:16 AM)rich2005 Wrote: @PixLab
Try the attached. Lots of parameters for webp, to change you will have to edit the script.
For anyone else do not forget Ofnuts excellent tip at the beginning of this thread.
YEEEEES! That's exactly what I was trying to do, thank you so very much rich2005! and I understood your comment in the parameters, now I got the picture (i mean about what you did on the script )
Again thanks a lot!
Patrice