Batch Resize Pictures Using Linux Convert Utility

A quick and simple way to resize a folder full of pictures is to issue the following command on a Linux computer:

$ for file in *.jpg; do convert $file -resize 25% rz-$file; done
This entry was posted in How-To and tagged , , , , , . Bookmark the permalink.

2 Responses to Batch Resize Pictures Using Linux Convert Utility

  1. Brian Gallimore says:

    convert to BMP images: convert “$1” -type truecolor “$1.bmp”

  2. Brian Gallimore says:

    for file in *.png; do convert $file -type truecolor “${file%.*}.bmp”; done

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.