mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
16 lines
341 B
Bash
Executable File
16 lines
341 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# For use in the pngzop project
|
|
# Copyright 2013 by Glenn Randers-Pehrson
|
|
# Released under the pngcrush license (equivalent to the libpng license)
|
|
|
|
# Extracts the data from the IDAT chunks in a set of # PNG files.
|
|
|
|
for x in $*
|
|
do
|
|
root=`echo $1 | sed -e s/.png$//`
|
|
pngidat.exe < $1 > $root.zdat
|
|
ls -l $root.zdat
|
|
shift
|
|
done
|