Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resize all layers in script-fu
#2
(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.
Reply


Messages In This Thread
Resize all layers in script-fu - by BaconWizard17 - 10-23-2022, 04:08 PM
RE: Resize all layers in script-fu - by programmer_ceds - 10-23-2022, 06:42 PM
RE: Resize all layers in script-fu - by Ofnuts - 10-23-2022, 07:17 PM
RE: Resize all layers in script-fu - by teapot - 10-26-2022, 11:00 PM
RE: Resize all layers in script-fu - by teapot - 10-26-2022, 11:46 PM

Forum Jump: