mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 21:43:08 +00:00
22 lines
484 B
Plaintext
22 lines
484 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# bmptopnm
|
|
|
|
> Convert a BMP file into a PBM, PGM, or PNM image.
|
|
> More information: <https://netpbm.sourceforge.net/doc/bmptopnm.html>.
|
|
|
|
- Generate the PBM, PGM, or PNM image as output, for Windows or OS/2 BMP file as input:
|
|
|
|
`bmptopnm {{path/to/file.bmp}}`
|
|
|
|
- Report contents of the BMP header to `stderr`:
|
|
|
|
`bmptopnm -verbose {{path/to/file.bmp}}`
|
|
|
|
- Display version:
|
|
|
|
`bmptopnm -version`
|