a C library for reading and writing small images