mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
macptopbm, pbmtoxbm: edit pages; mdatopbm, mgrtopbm, pbmtomacp, pbmtomda, pbmtomgr, pbmtonokia: add pages (#12225)
This commit is contained in:
parent
9c497a9133
commit
cd0b74ed2c
8 changed files with 98 additions and 4 deletions
|
@ -1,19 +1,20 @@
|
|||
# macptopbm
|
||||
|
||||
> Read a MacPaint file as input and produce a PBM image as output.
|
||||
> See also: `pbmtomacp`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/macptopbm.html>.
|
||||
|
||||
- Convert a MacPaint file into a PGM image:
|
||||
|
||||
`macptopbm {{path/to/file.mac}}`
|
||||
`macptopbm {{path/to/file.macp}} > {{path/to/output.pbm}}`
|
||||
|
||||
- Skip over a specified number of bytes when reading the file:
|
||||
|
||||
`macptopbm -extraskip {{N}}`
|
||||
`macptopbm -extraskip {{N}} > {{path/to/output.pbm}}`
|
||||
|
||||
- Suppress all informational messages:
|
||||
|
||||
`macptopbm -quiet`
|
||||
`macptopbm -quiet > {{path/to/output.pbm}}`
|
||||
|
||||
- Display version:
|
||||
|
||||
|
|
17
pages/common/mdatopbm.md
Normal file
17
pages/common/mdatopbm.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# mdatopbm
|
||||
|
||||
> Convert a Microdesign MDA file to a PBM image.
|
||||
> See also: `pbmtomda`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/mdatopbm.html>.
|
||||
|
||||
- Convert a MDA file to a PBM image:
|
||||
|
||||
`mdatopbm {{path/to/image.mda}} > {{path/to/output.pbm}}`
|
||||
|
||||
- Invert the colors in the input image:
|
||||
|
||||
`mdatopbm -i {{path/to/image.mda}} > {{path/to/output.pbm}}`
|
||||
|
||||
- Double the input image's height:
|
||||
|
||||
`mdatopbm -d {{path/to/image.mda}} > {{path/to/output.pbm}}`
|
9
pages/common/mgrtopbm.md
Normal file
9
pages/common/mgrtopbm.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# mgrtopbm
|
||||
|
||||
> Convert a MGR bitmap into a PBM file.
|
||||
> See also: `pbmtomgr`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/mgrtopbm.html>.
|
||||
|
||||
- Convert a MGR bitmap into a PBM file:
|
||||
|
||||
`mgrtopbm {{path/to/image.mgr}} > {{path/to/output.pbm}}`
|
13
pages/common/pbmtomacp.md
Normal file
13
pages/common/pbmtomacp.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# pbmtomacp
|
||||
|
||||
> Convert a PBM image to a MacPaint file.
|
||||
> See also: `macptopbm`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtomacp.html>.
|
||||
|
||||
- Convert a PBM image to a MACP file:
|
||||
|
||||
`pbmtomacp {{path/to/image.pbm}} > {{path/to/output.macp}}`
|
||||
|
||||
- Do not compress the output file:
|
||||
|
||||
`pbmtomacp -norle {{path/to/image.pbm}} > {{path/to/output.macp}}`
|
17
pages/common/pbmtomda.md
Normal file
17
pages/common/pbmtomda.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# pbmtomda
|
||||
|
||||
> Convert a PBM image to a Microdesign MDA file.
|
||||
> See also: `mdatopbm`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtomda.html>.
|
||||
|
||||
- Convert a PBM image to a MDA file:
|
||||
|
||||
`pbmtomda {{path/to/image.pbm}} > {{path/to/output.mda}}`
|
||||
|
||||
- Invert the colors in the input image:
|
||||
|
||||
`pbmtomda -i {{path/to/image.pbm}} > {{path/to/output.mda}}`
|
||||
|
||||
- Halve the input image's height:
|
||||
|
||||
`pbmtomda -d {{path/to/image.pbm}} > {{path/to/output.mda}}`
|
9
pages/common/pbmtomgr.md
Normal file
9
pages/common/pbmtomgr.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# pbmtomgr
|
||||
|
||||
> Convert a PBM image into a MGR bitmap.
|
||||
> See also: `mgrtopbm`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtomgr.html>.
|
||||
|
||||
- Convert a PBM image into a MGR bitmap:
|
||||
|
||||
`pbmtomgr {{path/to/image.pbm}} > {{path/to/output.mgr}}`
|
28
pages/common/pbmtonokia.md
Normal file
28
pages/common/pbmtonokia.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# pbmtonokia
|
||||
|
||||
> Convert a PBM image to one of Nokia's Smart Messaging Formats .
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtonokia.html>.
|
||||
|
||||
- Convert a PBM image into a Nokia Operator Logo as hexcode:
|
||||
|
||||
`pbmtonokia -fmt NEX_NOL -net {{network_operator_code}} {{path/to/image.pbm}} > {{path/to/output.hex}}`
|
||||
|
||||
- Convert a PBM image into a Nokia Group Graphic as hexcode:
|
||||
|
||||
`pbmtonokia -fmt NEX_NGG {{path/to/image.pbm}} > {{path/to/output.hex}}`
|
||||
|
||||
- Convert a PBM image into a Nokia Picture Message with the specified text as hexcode:
|
||||
|
||||
`pbmtonokia -fmt NEX_NPM -txt {{text_message}} {{path/to/image.pbm}} > {{path/to/output.hex}}`
|
||||
|
||||
- Convert a PBM image into a Nokia Operator Logo as a NOL file:
|
||||
|
||||
`pbmtonokia -fmt NOL {{path/to/image.pbm}} > {{path/to/output.nol}}`
|
||||
|
||||
- Convert a PBM image into a Nokia Group Graphic as an NGG file:
|
||||
|
||||
`pbmtonokia -fmt NGG {{path/to/image.pbm}} > {{path/to/output.ngg}}`
|
||||
|
||||
- Convert a PBM image into a Nokia Picture Message as an NPM file:
|
||||
|
||||
`pbmtonokia -fmt NPM {{path/to/image.pbm}} > {{path/to/output.npm}}`
|
|
@ -3,7 +3,7 @@
|
|||
> Convert a PBM image to a X11 or X10 bitmap.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtoxbm.html>.
|
||||
|
||||
- Convert a PPM image to a X11 XBM file:
|
||||
- Convert a PBM image to a X11 XBM file:
|
||||
|
||||
`pbmtoxbm {{path/to/input_file.pbm}} > {{path/to/output_file.xbm}}`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue