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:
7
pngidat
7
pngidat
@@ -1,4 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
for x in $*
|
||||||
|
do
|
||||||
root=`echo $1 | sed -e s/.png$//`
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user