r/jpegxl

▲ 16 r/jpegxl+1 crossposts

Encoding raw image library into JXL

Hi all,

I'm an amateur photographer and throughout the years have accumulated vast amounts of raw files from my cameras. I'm now considering to free up some disk space by converting my older raw files into higher quality photos.

I'm using RawTherapee to do the processing, but unfortunately it does not support JXL. So I'm planning to export into uncompressed TIFF (16-bit) from RT. Is there some tool that I could use to batch-convert the TIFFs into JXL in one go?

Lossless JXL might be overkill and I think it might take even more space than the raw files themselves. In past I shot with a point-and-shoot camera and DSLR which produced raw files of about 8MB and 17MB.

Which JXL settings, quality levels, etc. would you recommend? When I did exports in JPEG format I used JPEG quality level 90 % which seemed to produce files of about 3-4 MB. Are the JPEG and JXL quality settings somehow comparable?

Thanks!

reddit.com
u/UniversityUpstairs93 — 5 days ago
▲ 13 r/jpegxl+2 crossposts

Upstream covariance reshaping produces consistent BPP reduction across four independent codec architectures — reproducible results on Kodak PCD0992

Tested SPDR-processed images against unmodified Kodak PCD0992 originals across JPEG, JPEG XL, AVIF, and WebP at three quality levels each. Results are consistent across all four codec architectures — 46–68% BPP reduction depending on codec and quality level.

These encoders share no implementation code and make independent decisions about how to represent the data they receive — the only common variable is the pixel data entering each pipeline. All encoded outputs, per-image JSON measurements, and verification scripts are in the repo and independently reproducible.

https://github.com/PearsonZero/kodak-pcd0992-multi-codec-compression-response

u/Pearsonzero — 7 days ago
▲ 22 r/jpegxl

Does JPG->JXL repacking support images larger than 65535 pixels on edge?

I've got a bunch of small JPEG tiles that I'd like to combine into a single image for ease of use.

However, when combined they would be about 100kilopixels by 80 kilopixels.

I can combine them losslessly at the MCU level with jpegjoin, but the JPEG format itself is limited to 65535 pixel width/height.

Is anyone here familiar enough with the guts of the repacker? Can it exceed the resolution limit?

reddit.com
u/glassmanjones — 7 days ago
▲ 35 r/jpegxl

Why JPEG’s Own Replacements Keep Failing (a quick tour of the JPEGs between the original to JPEG XL)

youtube.com
u/caspy7 — 8 days ago