libjxl

FORK: libjxl patches used on blog
git clone https://git.neptards.moe/blog/libjxl.git
Log | Files | Refs | Submodules | README | LICENSE

djxl.txt (1276B)


      1 djxl(1)
      2 =======
      3 :doctype: manpage
      4 
      5 Name
      6 ----
      7 
      8 djxl - decompress JPEG XL images
      9 
     10 Synopsis
     11 --------
     12 
     13 *djxl* ['options'...] 'input.jxl' ['output']
     14 
     15 Description
     16 -----------
     17 
     18 `djxl` decompresses a JPEG XL image or animation. The output format is determined
     19 by the extension of the output file, which can be `.png`, `.jpg`, `.ppm`, `.pfm`.
     20 If the JPEG XL input file contains an animation, multiple output files will be
     21 produced, with names of the form "'output'-*framenumber*.ext".
     22 
     23 
     24 Options
     25 -------
     26 
     27 -h::
     28 --help::
     29     Displays the options that `djxl` supports.
     30 
     31 -j::
     32 --pixels_to_jpeg::
     33     By default, if the input JPEG XL contains a recompressed JPEG file,
     34     djxl reconstructs the exact original JPEG file if the output file has the
     35     `.jpg` (or `.jpeg`) filename extension.
     36     This flag causes the decoder to instead decode the image to pixels and
     37     encode a new (lossy) JPEG in this case.
     38 
     39 
     40 -q 'quality'::
     41 --jpeg_quality='quality'::
     42     When decoding to `.jpg`, use this output quality. This option implicitly
     43     enables the --pixels_to_jpeg option.
     44 
     45 
     46 Examples
     47 --------
     48 
     49 ----
     50 # Decompress a JPEG XL file to PNG
     51 $ djxl input.jxl output.png
     52 
     53 # Reconstruct a losslessly-recompressed JPEG file
     54 $ djxl lossless-jpeg.jxl reconstructed.jpeg
     55 ----
     56 
     57 
     58 See also
     59 --------
     60 
     61 *cjxl*(1)