Resizing images via linux command line or script.
- April 1st, 2008
- Posted in Documentation
- Write comment
Make sure ImageMagick is installed. The convert command is part of the ImageMagick installation.
convert -geometry 240×160 filename newfilename
The following will resize several images in a script:
#!/bin/bash
for x in $(ls)
do
convert -geometry 240×160 $x new-$x
done
No comments yet.