2009-01-29-0003Z


Finally found out how to make ImageMagick make nice, equally sized, centered thumbnails like IrfanView does:

jcomeau@gdl:~$ for file in *.jpg; do
> convert $file -thumbnail '72x72>' -background grey \
> -gravity center -extent 72x72 thumbs/$file; done

Fed up by limitations on all the "free" photo sites like photobucket, flickr, and facebook, and since all the photos I want to save are useful for educational and other purposes anyway, I'm planning on uploading them all to WikiMedia. First I wanted to see what I had, though, and with a few more lines of Bash I should have what I need.

Back to blog or home page

last updated 2013-01-10 21:20:37. served from tektonic.jcomeau.com