Converting images with convert?

$ sudo apt-get install imagemagick

thumball.sh:
#!/bin/sh

for fn in *; do
echo -e “converting 20% $fn to s-${fn} …”
# convert the files with imagemagick
convert -geometry 20% $fn s-${fn}
# touch the date back to the original
touch -r $fn s-${fn}
done

Advertisements

~ by nambabwe on 2007/12/06.

 
%d bloggers like this: