mirror of https://github.com/CrimsonTome/tldr.git
pbmtopgm, pbmtoplot, pbmtoppa, pbmtoptx, pbmupc, pgmenhance: add pages (#12224)
parent
9c44d53331
commit
fa9fe07755
|
@ -0,0 +1,9 @@
|
|||
# pbmtopgm
|
||||
|
||||
> Convert a PBM image to PGM by averaging areas surrounding individual pixels.
|
||||
> See also: `pnmconvol`, `pamditherbw`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtopgm.html>.
|
||||
|
||||
- Convert PBM image to PGM by averaging the `w`x`h`-sized area surrounding each pixel:
|
||||
|
||||
`pbmtopgm {{w}} {{h}} {{path/to/image.pbm}} > {{path/to/output.pgm}}`
|
|
@ -0,0 +1,8 @@
|
|||
# pbmtoplot
|
||||
|
||||
> Convert a PBM image into a UNIX plot file.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtoplot.html>.
|
||||
|
||||
- Convert a PBM image into a UNIX plot file:
|
||||
|
||||
`pbmtoplot {{path/to/image.pbm}} > {{path/to/output.plot}}`
|
|
@ -0,0 +1,12 @@
|
|||
# pbmtoppa
|
||||
|
||||
> Convert a PBM image to HP Printer Performance Architecture format.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtoppa.html>.
|
||||
|
||||
- Convert a PBM image into a PPA file:
|
||||
|
||||
`pbmtoppa {{path/to/image.pbm}} > {{path/to/output.ppa}}`
|
||||
|
||||
- Specify the desired dots-per-inch and paper size:
|
||||
|
||||
`pbmtoppa -d {{300}} -s {{a4}} {{path/to/image.pbm}} > {{path/to/output.ppa}}`
|
|
@ -0,0 +1,8 @@
|
|||
# pbmtoptx
|
||||
|
||||
> Convert a PBM image into Printronix printer graphics.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmtoptx.html>.
|
||||
|
||||
- Convert a PBM image into a PTX file:
|
||||
|
||||
`pbmtoptx {{path/to/image.pbm}} > {{path/to/output.ptx}}`
|
|
@ -0,0 +1,12 @@
|
|||
# pbmupc
|
||||
|
||||
> Generate a PBM image of a Universal Product Code (UPC).
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pbmupc.html>.
|
||||
|
||||
- Generate a UPC image for the specified product type, manufacturer code, and product code:
|
||||
|
||||
`pbmupc {{product_type}} {{manufacturer_code}} {{product_code}} > {{path/to/output.pbm}}`
|
||||
|
||||
- Use an alternative style that does not display the checksum:
|
||||
|
||||
`pbmupc -s2 {{product_type}} {{manufacturer_code}} {{product_code}} > {{path/to/output.pbm}}`
|
|
@ -0,0 +1,13 @@
|
|||
# pgmenhance
|
||||
|
||||
> Edge-enhance a PGM image.
|
||||
> See also: `pamedge`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pgmenhance.html>.
|
||||
|
||||
- Edge-enhance a PGM image:
|
||||
|
||||
`pgmenhance {{path/to/image.pgm}} > {{path/to/output.pgm}}`
|
||||
|
||||
- Specify the level of enhancement:
|
||||
|
||||
`pgmenhance -{{1..9}} {{path/to/image.pgm}} > {{path/to/output.pgm}}`
|
Loading…
Reference in New Issue