if (!(inpam.maxval == 255 &&
inpam.bytes_per_sample == 1 &&
inpam.format == RPPM_FORMAT))
- fatal("PNM screenshot(s) file must be 8bpp 1 byte per sample RGB");
+ fatal("PNM screenshot(s) file must be 8bpp 1 byte-per-sample RGB raw");
CANONICALISE_IMAGE(im, inpam.width, inpam.height, {
int r= fread(&rgb_buf,1,3,f);