1DJXL(1) DJXL(1)
2
3
4
6 djxl - decompress JPEG XL images
7
9 djxl [options...] input.jxl [output]
10
12 djxl decompresses a JPEG XL image or animation. The output format is
13 determined by the extension of the output file, which can be .png,
14 .jpg, .ppm, .pfm. If the JPEG XL input file contains an animation,
15 multiple output files will be produced, with names of the form
16 "output-framenumber.ext".
17
19 -h, --help
20 Displays the options that djxl supports.
21
22 -j, --pixels_to_jpeg
23 By default, if the input JPEG XL contains a recompressed JPEG file,
24 djxl reconstructs the exact original JPEG file if the output file
25 has the .jpg (or .jpeg) filename extension. This flag causes the
26 decoder to instead decode the image to pixels and encode a new
27 (lossy) JPEG in this case.
28
29 -q quality, --jpeg_quality=quality
30 When decoding to .jpg, use this output quality. This option
31 implicitly enables the --pixels_to_jpeg option.
32
34 # Decompress a JPEG XL file to PNG
35 $ djxl input.jxl output.png
36
37 # Reconstruct a losslessly-recompressed JPEG file
38 $ djxl lossless-jpeg.jxl reconstructed.jpeg
39
41 cjxl(1)
42
43
44
45 01/19/2023 DJXL(1)