Timg is a VERY lightweight image library to facilitate reading and writing image files.