mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 20:58:17 +00:00
Update cheatsheets
This commit is contained in:
21
ppmtolj
Normal file
21
ppmtolj
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# ppmtolj
|
||||
|
||||
> Convert a PPM file to an HP LaserJet PCL 5 Color file.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/ppmtolj.html>.
|
||||
|
||||
- Convert a PPM file to an HP LaserJet PCL 5 Color file:
|
||||
|
||||
`ppmtolj {{path/to/input.ppm}} > {{path/to/output.lj}}`
|
||||
|
||||
- Apply a gamma correction using the specified gamma value:
|
||||
|
||||
`ppmtolj -gamma {{gamma}} {{path/to/input.ppm}} > {{path/to/output.lj}}`
|
||||
|
||||
- Specify the required resolution:
|
||||
|
||||
`ppmtolj -resolution {{75|100|150|300|600}} {{path/to/input.ppm}} > {{path/to/output.lj}}`
|
||||
Reference in New Issue
Block a user