pub fn encode_plain(x: impl Encode) -> String
Encodes an image to one of the pgm or ppm portable anymap formats.
pgm
ppm
Please note that this will not produce a pam, use [PAM] for that. ASCII EDITION!
pam
PAM