pngtools is a tiny python library to play and explore PNG.
It only supports a subset of the PNG format, but it can:
- recover a PNG from the https://en.wikipedia.org/wiki/ACropalypse (CVE 2023-21036) vulnerability.
- convert the png to bitmap file (
bmporppm)
Links
- https://github.com/Its-Just-Nans/pngtools
- https://its-just-nans.github.io/packages/
- https://pypi.org/project/pngtools/
A rust binding is also available at https://crates.io/crates/pngtools