Netpbm formats

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Identification)
(PRONOM)
Line 22: Line 22:
 
Each file begins with two ASCII characters, which serve as a signature.
 
Each file begins with two ASCII characters, which serve as a signature.
  
* PBM, text: <code>P1</code> (PRONOM: {{PRONOM|x-fmt/164}})  
+
* PBM, text: <code>P1</code> (PRONOM:{{PRONOM|x-fmt/164}})
* PGM, text: <code>P2</code>
+
* PGM, text: <code>P2</code> (PRONOM:{{PRONOM|fmt/407}})
* PPM, text: <code>P3</code> (PRONOM: {{PRONOM|x-fmt/178}})
+
* PPM, text: <code>P3</code> (PRONOM:{{PRONOM|x-fmt/178}})
* PGM, binary: <code>P4</code>
+
* PBM, binary: <code>P4</code> (PRONOM:{{PRONOM|fmt/409}})
* PPM, binary: <code>P5</code>
+
* PGM, binary: <code>P5</code> (PRONOM:{{PRONOM|fmt/406}})
* PPM, binary: <code>P6</code>
+
* PPM, binary: <code>P6</code> (PRONOM:{{PRONOM|fmt/408}})
* PAM: <code>P7</code>
+
* PAM: <code>P7</code> (PRONOM:{{PRONOM|fmt/405}}, incorrectly named "Portable Any Map" as of 3/2013)
  
 
== See also ==
 
== See also ==

Revision as of 00:02, 15 March 2013

File Format
Name Netpbm formats
Ontology
Extension(s) .pbm .pgm
.ppm .pnm
.pam

Contents

Overview

The Netpbm formats are a set of uncompressed raster image file formats, associated with the Netpbm library and suite of image processing utilities.

PBM (portable bitmap) is a bi-level image format.

PGM (portable graymap) is a grayscale image format.

PPM (portable pixmap) is a color image format.

PNM (portable anymap) is not really a format, but is a collective name for PBM, PGM, and PPM.

PAM (portable arbitrary map) is a more sophisticated format which supports everything the PBM, PGM, and PPM formats do, and then some.

The PBM, PGM, and PPM formats come in two varieties: a text ("plain") format, and a binary ("raw") format. PAM is binary-only.

Identification

Each file begins with two ASCII characters, which serve as a signature.

  • PBM, text: P1 (PRONOM:x-fmt/164)
  • PGM, text: P2 (PRONOM:fmt/407)
  • PPM, text: P3 (PRONOM:x-fmt/178)
  • PBM, binary: P4 (PRONOM:fmt/409)
  • PGM, binary: P5 (PRONOM:fmt/406)
  • PPM, binary: P6 (PRONOM:fmt/408)
  • PAM: P7 (PRONOM:fmt/405, incorrectly named "Portable Any Map" as of 3/2013)

See also

Specifications

Software

External links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox