LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pnm

Portable Anymap image format family

TLDR

View PNM info
$ pnmfile [image.pnm]
copy
Convert to other format
$ pnmtopng [image.pnm] > [image.png]
copy
Convert from other format
$ pngtopnm [image.png] > [image.pnm]
copy

SYNOPSIS

Various pnm* tools for PNM image manipulation.

DESCRIPTION

PNM (Portable Anymap) is an umbrella term for the Netpbm image format family: PBM (bitmap, black and white), PGM (graymap, grayscale), and PPM (pixmap, color). These formats use simple, human-readable headers followed by pixel data in either ASCII or binary encoding.PNM serves as the intermediate format in the Netpbm toolkit, where images are converted to PNM, processed with various pnm* tools, and then converted to the desired output format. The simplicity of PNM makes it easy to generate and parse programmatically.

PARAMETERS

PNM formats include:- PBM (bitmap)- PGM (grayscale)- PPM (color)Part of Netpbm toolkit.

CAVEATS

PNM files are uncompressed and can be very large compared to formats like PNG or JPEG. The more general term "Netpbm format" also includes PAM. No official MIME type is registered; image/x-portable-anymap is used by convention.

HISTORY

PNM was created as part of the Netpbm project, originally derived from Jef Poskanzer's Pbmplus toolkit (1988). Netpbm continues to be maintained as an open-source package for portable image manipulation.

SEE ALSO

pbm(5), pgm(5), ppm(5), netpbm(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid