.ppm image compressor and decompressor