pnm decoding and encoding
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# PNM

provides encoders and decoders for the portable anymap formats.

> **Warning** 16 bit images are not supported.

### pnm format depth support table

||[PBM](https://docs.rs/pnm/latest/pnm/pbm/index.html)|[PGM](https://docs.rs/pnm/latest/pnm/pgm/index.html)|[PPM](https://docs.rs/pnm/latest/pnm/ppm/index.html)|[PAM](https://docs.rs/pnm/latest/pnm/pam/index.html)
|----|--|--|--|--|
|Y   |✅|✅|❎|✅|
|YA  |❎|❎|❎|✅|
|RGB |❎|❎|✅|✅|
|RGBA|❎|❎|❎|✅|