mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
655 B
Plaintext
23 lines
655 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# cjxl
|
|
|
|
> Compress images to JPEG XL.
|
|
> Accepted input extensions are PNG, APNG, GIF, JPEG, EXR, PPM, PFM, PAM, PGX, and JXL.
|
|
> More information: <https://github.com/libjxl/libjxl/blob/main/doc/man/cjxl.txt>.
|
|
|
|
- Convert an image to JPEG XL:
|
|
|
|
`cjxl {{path/to/image.ext}} {{path/to/output.jxl}}`
|
|
|
|
- Set quality to lossless and maximize compression of the resulting image:
|
|
|
|
`cjxl --distance 0 --effort 9 {{path/to/image.ext}} {{path/to/output.jxl}}`
|
|
|
|
- Display an extremely detailed help:
|
|
|
|
`cjxl {{[-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]}}`
|