pnginspect - print contents of PNG files
pnginspect a.png b.png c.png
Print a text representation of the data within a PNG image file to standard output. It reads the PNG file, prints out its header information and its valid chunks, and then attempts to read all the chunks. Most of the chunks are printed using Data::Dumper. Modification time and text segments are printed specially.
The image data is not currently printed out.
If you have Data::Validate::URI and LWP::Simple installed, you can also use it to examine PNG files on the web, like this:
pnginspect http://libpng.org/pub/png/img_png/libpng-88x31.png
These modules are not installed by default.
Ben Bullock <bkb@cpan.org>
To install Image::PNG::Libpng, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Image::PNG::Libpng
CPAN shell
perl -MCPAN -e shell install Image::PNG::Libpng
For more information on module installation, please visit the detailed CPAN module installation guide.