3 ms·
I've done this. For a project where I didn't want any external dependencies, I wrote an uncompressed PNG writer for RGBA8 images in a single function. It's ju
by a_e_k 4y ago
I've done this. For a project where I didn't want any external dependencies, I wrote an uncompressed PNG writer for RGBA8 images in a single function. It's just over 90 lines of C++:
https://github.com/a-e-k/canvas_ity/blob/f32fbb37e2fe7c0fcaee6ebdc02d3e5385603fd5/test/test.cpp#L2415-L2507 https://github.com/a-e-k/canvas_ity/blob/f32fbb37e2fe7c0fcae...