Module pnm

Decoding of netpbm image formats (pbm, pgm, ppm and pam).

The formats pbm, pgm and ppm are fully supported. Only the official subformats (BLACKANDWHITE, GRAYSCALE, RGB, BLACKANDWHITE_ALPHA, GRAYSCALE_ALPHA, and RGB_ALPHA) of pam are supported; custom tuple types have no clear interpretation as an image and will be rejected.

Structs

Enums