Files
tldr/pages.zh/common/ppmtolj.md

16 lines
496 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ppmtolj
> 将PPM文件转换为HP LaserJet PCL 5彩色文件。
> 更多信息:<https://netpbm.sourceforge.net/doc/ppmtolj.html>。
- 将PPM文件转换为HP LaserJet PCL 5彩色文件
`ppmtolj {{path/to/input.ppm}} > {{path/to/output.lj}}`
- 使用指定的伽玛值应用伽玛校正:
`ppmtolj -gamma {{gamma}} {{path/to/input.ppm}} > {{path/to/output.lj}}`
- 指定所需的分辨率:
`ppmtolj -resolution {{75|100|150|300|600}} {{path/to/input.ppm}} > {{path/to/output.lj}}`