Change size of images shell script
May 17th 2010I had a issue: Find all images in directory and change size to “150x200”. So lets start.
- Find all images find .
- Convert size of image: convert -geometry ‘150x200’ image.gif image.gif
for i in $(find .)
do
convert -geometry "150x200" $i $i
done
If you want get only image size use: identify image.png
