SunDawning avatar

Batch Zooming Images with GIMP

sundawning

Published: 11 May 2018 › Updated: 11 May 2018Batch Zooming Images with GIMP

Batch Zooming Images with GIMP

alt

Save below code to file "~/.gimp-2.8/scripts/images-scale-and-fit-canvas-to-layers.scm" and restart GIMP to use:

(define (images-scale-and-fit-canvas-to-layers in-width in-height)
  (map (lambda (image)
         (gimp-image-scale image in-width in-height))
       (vector->list
        (car
         (cdr
          (gimp-image-list))))))

(script-fu-register
 "images-scale-and-fit-canvas-to-layers"
 "Images Scale and Fit Canvas to Layers"
 "
 1. Open images
 2. Filters=>SunDawning=>Images Scale and Fit Canvas to Layers
 3. Click to make Images Scale and Fit Canvas to Layers
 
 Equivalent to:
 
 1. Open image
 2. Scale
 3. Right Click
 4. Image=>Fit Canvas to Layers
 5. Repeat the above process to scale all images
 "
 "SunDawning"
 "Copyright (c) 2018 https://steemit.com/@SunDawning"
 ""
 ""
 SF-ADJUSTMENT "Width" '(1366 1 100000 1 10 0 1)
 SF-ADJUSTMENT "Height" '(768 1 100000 1 10 0 1) )

(script-fu-menu-register "images-scale-and-fit-canvas-to-layers" "/Filters/SunDawning")

Leave Batch Zooming Images with GIMP to:

Written by

Read more #gimp posts


Best Posts From SunDawning

We have not curated any of sundawning's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From SunDawning