2021-04-23 22:20:20 +11:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-11-02 07:18:09 +11:00
|
|
|
SRC="../lib/quux.fimg"
|
2021-04-23 22:20:20 +11:00
|
|
|
K="0.414"
|
|
|
|
TMP="/tmp/foo.fimg"
|
|
|
|
|
|
|
|
for fx in $(./fimgfx -l)
|
|
|
|
do
|
|
|
|
|
|
|
|
printf "========== %-12s =========\n" $fx
|
|
|
|
|
|
|
|
outfile=$(printf "/tmp/fx_%s.png" $fx)
|
|
|
|
echo $outfile
|
|
|
|
|
|
|
|
rm $TMP
|
|
|
|
./fimgfx -v -k $K $fx $SRC $TMP
|
|
|
|
if [ $? \!= 0 ] ; then
|
|
|
|
echo error $?
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
./fimg2png -v $TMP $outfile
|
|
|
|
|
|
|
|
echo ; sleep 1
|
|
|
|
|
|
|
|
done
|