All formats

PNG libraries for C/C++

For C and C++ there are 4 good choices:

Pick libpng or libspng for production code that handles untrusted files and needs metadata; LodePNG or stb_image when you want zero build setup.