version 1, convert binary ppm to png