support PGM and PPM formats