Skip to content
Harald Kuhr edited this page Mar 15, 2021 · 3 revisions

PNM - NetPBM Portable Any Map

  • Read support for the following file types:
    • PBM in P1 (ASCII) and P4 (binary) formats, 1 bit per pixel
    • PGM in P2 (ASCII) and P5 (binary) formats, up to 16/32 bits per pixel
    • PPM in P3 (ASCII) and P6 (binary) formats, up to 16/32 bits per pixel component
    • PAM in P7 (binary) format up to 32 bits per pixel component
    • Limited support for PFM in Pf (gray) and PF (RGB) formats, 32 bits floating point
  • Write support for the following formats:
    • PPM in P6 (binary) format
    • PAM in P7 (binary) format
  • Standard metadata support