DJXL(1)

πŸ’… DJXL β€” like, the manual page bestie ✨

okay so welcome to djxl(1), the iconic little tool that unstuffs your JPEG XL files and hands you back a whole picture. it's giving decompression main character energy, and honestly? she ate. πŸŽ€

🌸 NAME 🌸

djxl β€” decompress JPEG XL images. that's it, that's the vibe. πŸ’–

✨ SYNOPSIS ✨

djxl [options...] input.jxl [output]

so you feed her an input.jxl, you maybe tell her where the output should go, and you sprinkle in some [options...] if you're feeling fancy. slay. πŸ¦‹

🫢 DESCRIPTION 🫢

okay so here's the tea, bestie: djxl decompresses a JPEG XL image or an animation. lowkey magic. ✨

the output format? not a mystery β€” it's literally decided by the extension of your output file. and the approved squad is .png, .jpg, .ppm, .pfm. no cap, those are the four. πŸ’…

and here's the part where you gotta pay attention πŸ‘€ β€” if your JPEG XL input file contains an animation, you're not getting one file back, you're getting multiple output files. their names come out in this exact form:

output-framenumber.ext

so like, each frame gets its own little file with its number in there. iconic behaviour honestly. πŸŽ¬πŸ’–

πŸ”₯ OPTIONS πŸ”₯

  • -h, --help β€” shows you all the options that djxl supports. the "wait, what can you even do" button. 🫢
  • -j, --pixels_to_jpeg β€” okay so here's the default situation first: if your input JPEG XL contains a recompressed JPEG file, djxl reconstructs the exact original JPEG file β€” but only when your output file has the .jpg (or .jpeg) filename extension. this flag switches that up: instead, the decoder decodes the image to pixels and encodes a new (lossy) JPEG. so yeah, no more exact-original situation, you're getting a fresh lossy one. πŸ’€
  • -q quality, --jpeg_quality=quality β€” when you're decoding to .jpg, this is the output quality you want. and heads up ⚠️ β€” this option implicitly enables the --pixels_to_jpeg option. so it comes as a package deal, iykyk. 🌈

⭐ EXAMPLES ⭐

decompress a JPEG XL file to PNG β€” the classic, the beloved:

# Decompress a JPEG XL file to PNG
$ djxl input.jxl output.png

reconstruct a losslessly-recompressed JPEG file β€” the exact-original flex:

# Reconstruct a losslessly-recompressed JPEG file
$ djxl lossless-jpeg.jxl reconstructed.jpeg

πŸ’œ SEE ALSO πŸ’œ

  • cjxl(1) β€” her sibling, the one who does the compressing. go say hi. πŸ‘‘

okay that's the whole page, bestie β€” no notes, she's perfect. this was djxl(1), dated 05/28/2026, and yeah that's the whole manual. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from