#!/bin/sh
# Do some slightly-silly manipulations in convert.
# This takes some jpeg photos, scales them down
# and applies silly values of unsharpening, converts
# to png.  The size depends on the originals, and the
# unsharpening is silly enough to not look correct
# (so that you can see *something* happened), but not
# bad enough to be unviewable.

cd /tmp

rm -f *.png

test -d aust2004 || echo "copying"
test -d aust2004 || cp -a ~/repeat-tests/aust2004 .

time for F in aust2004/*.jpg
 do
   FN=$(basename $F .jpg) ; echo $FN
   convert $F -resize 1408x1162 -unsharp 20x13 $FN.png
 done
