computer-graphics-raster-images icon indicating copy to clipboard operation
computer-graphics-raster-images copied to clipboard

ppm file

Open wuyujie1 opened this issue 4 years ago • 0 comments

For gray images, I used "p2" magic number in the ppm header, but I found that this kind of file is actually called the PGM files and won't be able to open by ppm viewers (like http://www.cs.rhodes.edu/welshc/COMP141_F16/ppmReader.html). Is it okay for us to use "p2" magic number or should we use "p3" for gray images?

wuyujie1 avatar Jan 19 '21 08:01 wuyujie1