[pngzop] Added pngzdat tool to extract compressed IDAT data from a PNG.

This commit is contained in:
Glenn Randers-Pehrson
2013-03-04 00:29:20 -06:00
parent 8ce5e66c5c
commit 3aeca85c4c
2 changed files with 16 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
#!/bin/sh
for x in $*
do
root=`echo $1 | sed -e s/.png$//`
pngidat.exe < file.png | pigz -d > $root.idat
pngidat.exe < $1 | zpipe -d > $root.idat
ls -l $root.idat
shift
done

9
pngzdat Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
for x in $*
do
root=`echo $1 | sed -e s/.png$//`
pngidat.exe < $1 > $root.zdat
ls -l $root.zdat
shift
done