A lossy image compressor written in C