mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 08:45:59 +00:00
26 lines
699 B
Plaintext
26 lines
699 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ppmtopjxl
|
|
|
|
> Convert a PPM image into an HP PaintJet XL PCL file.
|
|
> More information: <https://netpbm.sourceforge.net/doc/ppmtopjxl.html>.
|
|
|
|
- Convert a PPM image into an PJXL file:
|
|
|
|
`ppmtopjxl {{path/to/image.ppm}} > {{path/to/output.pjxl}}`
|
|
|
|
- Resize the input image:
|
|
|
|
`ppmtopjxl -xsize {{10cm}} -ysize {{5cm}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}`
|
|
|
|
- Shift the input image:
|
|
|
|
`ppmtopjxl -xshift {{10pt}} -yshift {{5pt}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}`
|
|
|
|
- Do not use the normal TIFF 4.0 compression method:
|
|
|
|
`ppmtopjxl -nopack {{path/to/image.ppm}} > {{path/to/output.pjxl}}`
|