[pngzop] Removed debug printout from pngidat and pngzdat

This commit is contained in:
Glenn Randers-Pehrson
2013-03-11 17:55:41 -05:00
parent 6b6d4b3a24
commit e14cbe60a6
2 changed files with 10 additions and 4 deletions

13
pngidat
View File

@@ -9,8 +9,15 @@
for x in $*
do
root=`echo $1 | sed -e s/.png$//`
pngidat.exe < $1 | zpipe -d > $root.idat
ls -l $root.idat
case $1 in
*.png)
root=`echo $1 | sed -e "s/.png$//"`
pngidat.exe < $1 | zpipe -d > $root.idat
;;
*.zdat)
root=`echo $1 | sed -e "s/.zdat$//"`
zpipe -d < $1 > $root.idat
;;
esac
shift
done

View File

@@ -10,6 +10,5 @@ for x in $*
do
root=`echo $1 | sed -e s/.png$//`
pngidat.exe < $1 > $root.zdat
ls -l $root.zdat
shift
done