Function pnm::encode_plain

source ·
pub fn encode_plain(x: impl Encode) -> String
Expand description

Encodes an image to one of the pgm or ppm portable anymap formats.

Please note that this will not produce a pam, use [PAM] for that. ASCII EDITION!