10-23-2022, 06:42 PM
(This post was last modified: 10-23-2022, 06:44 PM by programmer_ceds.)
(10-23-2022, 04:08 PM)BaconWizard17 Wrote: Hi all! I've got a bit of a question about scripting. I'm trying to get a script to resize two both layers of an image instead of just the active one, but I'm not entirely sure how to go about doing that. First, I set up the image with this script:
...
If you want to resize all of the layers use gimp-image-get-layers to get the number of layers and an array of layers. See Filters/Python-Fu/Console/Browse and type layers into the search box. Simply call gimp-layer-resize-to-image-size for each of the layers.