s o m e t h i n g a b o u t m e

*** useful stuff

I just wanted to resize/convert some photos for my wife’s iRiver S10

so, we need 96*128, bmp. Mostly I have horisontal oriented photos, so we will rotate our thumbnail 90 degrees.

*powered by ImageMagick*

#/bin/bash
for img in `ls *.jpg`
do
  convert $img -thumbnail x96   -resize '200x<' -resize 80%
           -gravity center -crop 128x96+0+0  +repage -rotate 90 ./thumbs/$img.bmp
done

RSS feed | Trackback URI

»

Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.