Batch Edit Images and Export Them Separately (GIMP 3 + ImageMagick)

Resize, convert, or watermark many images at once – GIMP 3 with BIMP, Script-Fu batch mode, and the faster ImageMagick mogrify one-liners.

Last updated: July 2026 — rewritten for GIMP 3.x

Editing fifty screenshots one by one is a waste of an afternoon. Three ways to process a whole folder, from friendliest to fastest.

Option 1: GIMP + BIMP (best if you want a GUI)

BIMP (Batch Image Manipulation Plugin) adds a batch dialog to GIMP:

  1. Install BIMP (on Linux it’s packaged for GIMP; on Windows use the installer from the plugin page).
  2. In GIMP: File → Batch Image Manipulation.
  3. Add images (or a whole folder), then Add a manipulation: resize, crop, flip, color correction, watermark, rename, format conversion — you can stack several.
  4. Pick the output folder and click Apply. Every image is processed and exported separately; originals untouched.
Export Layers Dialog Box

Option 2: GIMP Script-Fu batch mode (no plugin, scriptable)

GIMP can run headless. Example — scale every JPG in a folder to 1200px wide and re-export:

gimp -i -b '(let* ((files (cadr (file-glob "/home/you/images/*.jpg" 1))))
  (while (not (null? files))
    (let* ((f (car files))
           (image (car (gimp-file-load RUN-NONINTERACTIVE f f)))
           (w 1200)
           (h (/ (* 1200 (car (gimp-image-height image))) (car (gimp-image-width image)))))
      (gimp-image-scale image w h)
      (gimp-image-flatten image)
      (file-jpeg-save RUN-NONINTERACTIVE image (car (gimp-image-get-active-drawable image)) f f 0.9 0 1 1 "" 2 1 0 2)
      (gimp-image-delete image))
    (set! files (cdr files))))' -b '(gimp-quit 0)'

Powerful, but the syntax is unforgiving — which is why for simple operations I now reach for option 3.

Option 3: ImageMagick (fastest for resize/convert/compress)

For pure resize, convert, or quality changes, skip GIMP entirely:

sudo apt install imagemagick

# resize every JPG to max 1200px wide, into a copy — mogrify overwrites otherwise!
mkdir -p out && cp *.jpg out/ && cd out
mogrify -resize 1200x -quality 82 *.jpg

# convert a folder of PNGs to WebP for your blog
mogrify -format webp -quality 80 *.png

One line, hundreds of images, seconds of runtime. The WebP conversion is exactly what I use for post featured images before uploading to WordPress.

Which one?

Layered edits, watermarks, or anything visual → BIMP. Repeatable jobs inside a script or cron → ImageMagick. Complex GIMP-specific filters in bulk → Script-Fu.

Comments

comments