'\" t .\" Title: djxl .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 06/27/2023 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "DJXL" "1" "06/27/2023" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" djxl \- decompress JPEG XL images .SH "SYNOPSIS" .sp \fBdjxl\fR [\fIoptions\fR\&...] \fIinput\&.jxl\fR [\fIoutput\fR] .SH "DESCRIPTION" .sp djxl decompresses a JPEG XL image or animation\&. The output format is determined by the extension of the output file, which can be \&.png, \&.jpg, \&.ppm, \&.pfm\&. If the JPEG XL input file contains an animation, multiple output files will be produced, with names of the form "\fIoutput\fR\-\fBframenumber\fR\&.ext"\&. .SH "OPTIONS" .PP \-h, \-\-help .RS 4 Displays the options that djxl supports\&. .RE .PP \-j, \-\-pixels_to_jpeg .RS 4 By default, if the input JPEG XL contains a recompressed JPEG file, djxl reconstructs the exact original JPEG file if the output file has the \&.jpg (or \&.jpeg) filename extension\&. This flag causes the decoder to instead decode the image to pixels and encode a new (lossy) JPEG in this case\&. .RE .PP \-q \fIquality\fR, \-\-jpeg_quality=\fIquality\fR .RS 4 When decoding to \&.jpg, use this output quality\&. This option implicitly enables the \-\-pixels_to_jpeg option\&. .RE .SH "EXAMPLES" .sp .if n \{\ .RS 4 .\} .nf # Decompress a JPEG XL file to PNG $ djxl input\&.jxl output\&.png # Reconstruct a losslessly\-recompressed JPEG file $ djxl lossless\-jpeg\&.jxl reconstructed\&.jpeg .fi .if n \{\ .RE .\} .SH "SEE ALSO" .sp \fBcjxl\fR(1)