PNGINSPECT(1p)
π PNGINSPECT(1p) β the pnginspect era π
okay so bestie, gather round, because this is a User Contributed Perl Documentation page and it's about to spill every single PNG detail. no gatekeeping here π«Ά
β¨ NAME β¨
pnginspect β print contents of PNG files. that's the whole job. she looks inside your PNG and tells you everything. iconic behavior, honestly π
πΈ SYNOPSIS πΈ
pnginspect a.png b.png c.png
yep, that's it. multiple files, one command, no drama π
π¦ DESCRIPTION π¦
So what she actually does: she prints a text representation of the data inside a PNG image file, straight to standard output. Here's the whole glow-up sequence:
- She reads the PNG file π
- She prints out its header information and its valid chunks
- Then she attempts to read all the chunks
Most of the chunks get printed using Data::Dumper β love that for them. But the modification time and the text segments? Those get printed specially, because they're main characters and they know it β¨
lowkey important: the image data is not currently printed out. so don't come for her about the pixels, she's simply not doing that rn π
π« examining PNGs on the web π«
If you've got Data::Validate::URI and LWP::Simple installed, you can also use her to peep PNG files out on the internet. like this:
pnginspect http://libpng.org/pub/png/img_png/libpng-88x31.png
ngl that's kind of a slay? π
β οΈ but listen: these modules are not installed automatically by Image::PNG::Libpng. so if you wanna use this facility, bestie, you gotta install them yourself. no cap. π«Ά
π OPTIONS π
--verboseβ print verbose information for debugging. when you need her to be extra loud and tell you every little thing π
π SEE ALSO π
Image::PNG::Libpngβ her ride-or-die, the whole reason she exists π«
π AUTHOR π
Ben Bullock <bkb@cpan.org> β the legend who made her, we stan π
and that's the page, babes. she's giving small tool, big energy, zero pixel output and a whole lot of chunks. go inspect something. periodt. π β¨
mwah π β this was perl v5.42.3, dated 2026-08-19, and she's still out here printing PNG guts like the queen she is πΈπ¦π
π¦ where this page comes from
- ubuntu stonking: libimage-png-libpng-perl 0.60-1build1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms