pbmtolj, pjtoppm, pnmtopclxl, ppmtolj, ppmtopj, ppmtospu, sldtoppm, spctoppm, sputoppm, thinkjettopbm: add pages (#11409)
* pbmtolj, pjtoppm, pnmtopclxl, ppmtolj, ppmtopj, ppmtospu, sldtoppm, spctoppm, sputoppm, thinkjettopbm: add pages
* Update pages/common/thinkjettopbm.md
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
* Update pages/common/pnmtopclxl.md
* Update pages/common/ppmtopj.md
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
---------
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-11-08 10:24:46 +01:00
|
|
|
# pbmtolj
|
|
|
|
|
|
|
|
> Convert a PBM file to an HP LaserJet file.
|
|
|
|
> More information: <https://netpbm.sourceforge.net/doc/pbmtolj.html>.
|
|
|
|
|
|
|
|
- Convert a PBM file to an HP LaserJet file:
|
|
|
|
|
|
|
|
`pbmtolj {{path/to/input.pbm}} > {{path/to/output.lj}}`
|
|
|
|
|
|
|
|
- Compress the output file using the specified method:
|
|
|
|
|
|
|
|
`pbmtolj -{{packbits|delta|compress}} {{path/to/input.pbm}} > {{path/to/output.lj}}`
|
|
|
|
|
|
|
|
- Specify the required resolution:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pbmtolj {{[-r|-resolution]}} {{75|100|150|300|600}} {{path/to/input.pbm}} > {{path/to/output.lj}}`
|