pnm decoding and encoding