cmuwmtopbm, escp2topbm, pbmtocmuwm, pbmtoepsi, ebmtoepson, pbmtoescp2, pbmtogo: add pages (#12235)

* cmuwmtopbm, escp2topbm, pbmtocmuwm, pbmtoepsi, ebmtoepson, pbmtoescp2, pbmtogo: add pages

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
pull/23/head
Juri Dispan 2024-02-12 15:13:35 +01:00 committed by GitHub
parent 25d05351c7
commit 0414572c3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 93 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# cmuwmtopbm
> Convert a CMU window manager bitmap to a PBM image.
> See also: `pbmtocmuwm`.
> More information: <https://netpbm.sourceforge.net/doc/cmuwmtopbm.html>.
- Convert a CMU window manager bitmap to a PBM image:
`cmuwmtopbm {{path/to/image.pbm}} > {{path/to/output.bmp}}`

View File

@ -0,0 +1,9 @@
# escp2topbm
> Convert a PBM image to a ESC/P2 printer file.
> See also: `pbmtoescp2`.
> More information: <https://netpbm.sourceforge.net/doc/escp2topbm.html>.
- Convert a ESC/P2 printer file to a PBM image:
`escp2topbm {{path/to/image.escp2}} > {{path/to/output.pbm}}`

View File

@ -0,0 +1,9 @@
# pbmtocmuwm
> Convert a PBM image to a CMU window manager bitmap.
> See also: `cmuwmtopbm`.
> More information: <https://netpbm.sourceforge.net/doc/pbmtocmuwm.html>.
- Convert a PBM image to a CMU window manager bitmap:
`pbmtocmuwm {{path/to/image.pbm}} > {{path/to/output.bmp}}`

20
pages/common/pbmtoepsi.md Normal file
View File

@ -0,0 +1,20 @@
# pbmtoepsi
> Convert a PBM image to an encapsulated PostScript style preview bitmap.
> More information: <https://netpbm.sourceforge.net/doc/pbmtoepsi.html>.
- Convert a PBM image to an encapsulated PostScript style preview bitmap:
`pbmtoepsi {{path/to/image.pbm}} > {{path/to/output.bmp}}`
- Produce a quadratic output image with the specified resolution:
`pbmtoepsi -dpi {{144}} {path/to/image.pbm}} > {{path/to/output.bmp}}`
- Produce an output image with the specified horizontal and vertical resolution:
`pbmtoepsi -dpi {{72x144}} {{path/to/image.pbm}} > {{path/to/output.bmp}}`
- Only create a boundary box:
`pbmtoepsi -bbonly {{path/to/image.pbm}} > {{path/to/output.bmp}}`

View File

@ -0,0 +1,17 @@
# pbmtoepson
> Convert a PBM image to an Epson printer graphic.
> See also: `pbmtoescp2`.
> More information: <https://netpbm.sourceforge.net/doc/pbmtoepson.html>.
- Convert a PBM image to an Epson printer graphic:
`pbmtoepson {{path/to/image.pbm}} > {{path/to/output.epson}}`
- Specify the printer protocol of the output:
`pbmtoepson -protocol {{escp9|escp}} {{path/to/image.pbm}} > {{path/to/output.epson}}`
- Specify the horizontal DPI of the output:
`pbmtoepson -dpi {{60|72|80|90|120|144|240}} {{path/to/image.pbm}} > {{path/to/output.epson}}`

View File

@ -0,0 +1,21 @@
# pbmtoescp2
> Convert a PBM image to a ESC/P2 printer file.
> See also: `pbmtoepson`, `escp2topbm`.
> More information: <https://netpbm.sourceforge.net/doc/pbmtoescp2.html>.
- Convert a PBM image to a ESC/P2 printer file:
`pbmtoescp2 {{path/to/image.pbm}} > {{path/to/output.escp2}}`
- Specify the compression of the output:
`pbmtoescp2 -compression {{0|1}} {{path/to/image.pbm}} > {{path/to/output.escp2}}`
- Specify the horizontal and vertical resolution of the output in dots per inch:
`pbmtoescp2 -resolution {{180|360|720}} {{path/to/image.pbm}} > {{path/to/output.escp2}}`
- Place a formfeed command at the end of the output:
`pbmtoescp2 -formfeed {{path/to/image.pbm}} > {{path/to/output.escp2}}`

8
pages/common/pbmtogo.md Normal file
View File

@ -0,0 +1,8 @@
# pbmtogo
> Convert a PBM image to a compressed GraphOn graphic.
> More information: <https://netpbm.sourceforge.net/doc/pbmtogo.html>.
- Convert a PBM image to a compressed GraphOn graphic:
`pbmtogo {{path/to/image.pbm}} > {{path/to/output.go}}`