pngtools is a suite of commands that I needed to make PNG easier to use in my own development. I have been coding TIFF images with libtiff for some time, and the tiffinfo, tiffdump, and tiffcp commands are quite useful for that code. I have therefore implemented similar commands for libpng.

Wed, 26 Nov 2008

Wow, this is a blast from the past. When I wrote the pngchunks command in 2003, I had never seen a 64 bit machine, and knew enough to check that an int was the right size, but not enough to just use the guaranteed-to-be-32-bit version from day 1. I'd pretty much forgotten about this code until I got pinged about this Debian bug. The bug reporter is entirely right, this was lame.

PNGtools 0.4 should be 64 bit safe. The pngchunks command works on my 64 bit machines at least.