A fun project in C and then compile it to wasm to use with js.
I used stb_image and stb_image_write to parse and read PNG file, mainly to avoid implementing zlib myself.
They're part of the stb collection — just simple, single-header libraries that do exactly what you need without getting in the way.
Really appreciated how easy they made things.
This project includes stb headers (e.g. stb_image.h)
Licensed under public domain or MIT.
pako is licensed under the MIT License.
UPNG.js is licensed under the MIT License.