2024-12-28 13:44:56 +01:00
|
|
|
# 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:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`ppmtopjxl {{[-xsi|-xsize]}} {{10cm}} {{[-ysi|-ysize]}} {{5cm}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}`
|
2024-12-28 13:44:56 +01:00
|
|
|
|
|
|
|
- Shift the input image:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`ppmtopjxl {{[-xsh|-xshift]}} {{10pt}} {{[-ysh|-yshift]}} {{5pt}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}`
|
2024-12-28 13:44:56 +01:00
|
|
|
|
|
|
|
- Do not use the normal TIFF 4.0 compression method:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`ppmtopjxl {{[-n|-nopack]}} {{path/to/image.ppm}} > {{path/to/output.pjxl}}`
|