libspng

C library for reading and writing PNG format files

brewmacoslinux
Try with needOr install directly
Source

About

C library for reading and writing PNG format files

Commands

libspng

Examples

Link against libspng in C program compilation$ gcc -o program program.c -lspng -lpng
Check libspng version and pkg-config information$ pkg-config --modversion libspng
Get compiler flags for libspng integration$ pkg-config --cflags --libs libspng