diff --git a/pages/common/pbmtopgm.md b/pages/common/pbmtopgm.md new file mode 100644 index 000000000..aca7849c8 --- /dev/null +++ b/pages/common/pbmtopgm.md @@ -0,0 +1,9 @@ +# pbmtopgm + +> Convert a PBM image to PGM by averaging areas surrounding individual pixels. +> See also: `pnmconvol`, `pamditherbw`. +> More information: . + +- 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}}` diff --git a/pages/common/pbmtoplot.md b/pages/common/pbmtoplot.md new file mode 100644 index 000000000..77fe6df6f --- /dev/null +++ b/pages/common/pbmtoplot.md @@ -0,0 +1,8 @@ +# pbmtoplot + +> Convert a PBM image into a UNIX plot file. +> More information: . + +- Convert a PBM image into a UNIX plot file: + +`pbmtoplot {{path/to/image.pbm}} > {{path/to/output.plot}}` diff --git a/pages/common/pbmtoppa.md b/pages/common/pbmtoppa.md new file mode 100644 index 000000000..2d3da8a6b --- /dev/null +++ b/pages/common/pbmtoppa.md @@ -0,0 +1,12 @@ +# pbmtoppa + +> Convert a PBM image to HP Printer Performance Architecture format. +> More information: . + +- 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}}` diff --git a/pages/common/pbmtoptx.md b/pages/common/pbmtoptx.md new file mode 100644 index 000000000..5fe54bb33 --- /dev/null +++ b/pages/common/pbmtoptx.md @@ -0,0 +1,8 @@ +# pbmtoptx + +> Convert a PBM image into Printronix printer graphics. +> More information: . + +- Convert a PBM image into a PTX file: + +`pbmtoptx {{path/to/image.pbm}} > {{path/to/output.ptx}}` diff --git a/pages/common/pbmupc.md b/pages/common/pbmupc.md new file mode 100644 index 000000000..83d07fc33 --- /dev/null +++ b/pages/common/pbmupc.md @@ -0,0 +1,12 @@ +# pbmupc + +> Generate a PBM image of a Universal Product Code (UPC). +> More information: . + +- 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}}` diff --git a/pages/common/pgmenhance.md b/pages/common/pgmenhance.md new file mode 100644 index 000000000..c38724e1a --- /dev/null +++ b/pages/common/pgmenhance.md @@ -0,0 +1,13 @@ +# pgmenhance + +> Edge-enhance a PGM image. +> See also: `pamedge`. +> More information: . + +- 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}}`