A simple TGA reader written in C.