Expand description
Module for handling plain ascii (human readable) PBM (black and white) images.
Constants§
Functions§
- Decodes the body of this image, placing it in the
Uninit
image. - Converts 0 to 255 and 1 to 0, for your u8 image experience.
- Decode without magic.
- Encodes directly into a buffer. Returns number of bytes written. Buffer should have at least
size
bytes. - Inaccurate estimate. Will always be greater than the real number of bytes.