libpng is one of the best png image libraries available, but its API can be cumbersome to work with. This header only wrapper is designed to make it much more like stb_image.h.
Want to try the example project? You can set it up easily using bash console.
git clone https://github.com/Journeyman-dev/png_wrapper.h
cd png_wrapper.h
cmake -S . -B ./build/ -D PNGW_BUILD_EXAMPLE=ON -D PNGW_EXAMPLE_AUTO_FETCH=ON
cmake --build ./build/