Просмотр исходного кода

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>
Juri Dispan 1 год назад
Родитель
Сommit
0414572c3c

+ 9 - 0
pages/common/cmuwmtopbm.md

@@ -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}}`

+ 9 - 0
pages/common/escp2topbm.md

@@ -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}}`

+ 9 - 0
pages/common/pbmtocmuwm.md

@@ -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 - 0
pages/common/pbmtoepsi.md

@@ -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}}`

+ 17 - 0
pages/common/pbmtoepson.md

@@ -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}}`

+ 21 - 0
pages/common/pbmtoescp2.md

@@ -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 - 0
pages/common/pbmtogo.md

@@ -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}}`