1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-29 06:35:29 +02:00
tldr/pages/common/cjxl.md
Managor 435cb8ce29
*: fix style guide issues part 3 (#15786)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
2025-03-07 13:43:12 +02:00

540 B

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.

  • 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 page:

cjxl {{[-h -v -v -v -v|--help --verbose --verbose --verbose --verbose]}}