Netpbm formats
(Cleanup) |
|||
Line 2: | Line 2: | ||
|formattype=electronic | |formattype=electronic | ||
|subcat=Graphics | |subcat=Graphics | ||
− | |extensions={{ext|pbm}} {{ext|pgm}} | + | |extensions={{ext|pbm}}, {{ext|pgm}}, {{ext|ppm}}, {{ext|pnm}}, {{ext|pam}} |
− | |pronom={{PRONOM|fmt/408}}, | + | |pronom={{PRONOM|fmt/408}}, {{PRONOM|fmt/405}}, others |
}} | }} | ||
− | + | The '''Netpbm formats''' are a family of simple raster image file formats, associated with the [[Netpbm]] library and suite of image processing utilities. | |
− | The '''Netpbm formats''' are a | + | |
+ | == Formats == | ||
'''PBM''' (portable bitmap) is a bi-level image format. | '''PBM''' (portable bitmap) is a bi-level image format. | ||
Line 16: | Line 16: | ||
'''PNM''' (portable anymap) is a collective name for PBM, PGM, and PPM. A .pnm file may use any of those formats. | '''PNM''' (portable anymap) is a collective name for PBM, PGM, and PPM. A .pnm file may use any of those formats. | ||
− | '''PAM''' (portable arbitrary map) is a more sophisticated format which supports everything the PBM, PGM, and PPM formats do, and then some. Some resources name this format "Portable Any Map" | + | '''PAM''' (portable arbitrary map) is a more sophisticated format which supports everything the PBM, PGM, and PPM formats do, and then some. Some resources incorrectly name this format "Portable Any Map". |
== Identification == | == Identification == | ||
Line 53: | Line 53: | ||
== Software == | == Software == | ||
− | * [ | + | * [[Netpbm]] |
== External links == | == External links == | ||
* [[Wikipedia:Netpbm format|Wikipedia: Netpbm format]] | * [[Wikipedia:Netpbm format|Wikipedia: Netpbm format]] | ||
* [[Wikipedia:PAM graphics format|Wikipedia: PAM graphics format]] | * [[Wikipedia:PAM graphics format|Wikipedia: PAM graphics format]] |
Revision as of 00:11, 14 November 2013
The Netpbm formats are a family of simple raster image file formats, associated with the Netpbm library and suite of image processing utilities.
Contents |
Formats
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 a collective name for PBM, PGM, and PPM. A .pnm file may use any of those formats.
PAM (portable arbitrary map) is a more sophisticated format which supports everything the PBM, PGM, and PPM formats do, and then some. Some resources incorrectly name this format "Portable Any Map".
Identification
Each file begins with two ASCII characters, which serve as a signature.
The PBM, PGM, and PPM formats come in two varieties: a text ("plain") format, and a binary ("raw") format. PAM is binary-only.
Format | Signature | PRONOM |
---|---|---|
PBM, text | P1 |
x-fmt/164 |
PGM, text | P2 |
fmt/407 |
PPM, text | P3 |
x-fmt/178 |
PBM, binary | P4 |
fmt/409 |
PGM, binary | P5 |
fmt/406 |
PPM, binary | P6 |
fmt/408 |
PAM | P7 |
fmt/405 |