mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[pngzop] Added pngzdat tool to extract compressed IDAT data from a PNG.
This commit is contained in:
9
pngidat
9
pngidat
@@ -1,4 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
root=`echo $1 | sed -e s/.png$//`
|
||||
pngidat.exe < file.png | pigz -d > $root.idat
|
||||
for x in $*
|
||||
do
|
||||
root=`echo $1 | sed -e s/.png$//`
|
||||
pngidat.exe < $1 | zpipe -d > $root.idat
|
||||
ls -l $root.idat
|
||||
shift
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user