#!/bin/rc # make thumbnails from *.j2k # Wed Mar 30 05:31:29 MET 2005 Peter A. Cejchan rfork e mkdir $1 for (name in *.j2k) { outname = `{echo $name | sed 's/\.j2k/\.9img/g'} j2kto9 $name | resample -x 128 > $1/$outname } #-eof-