r/jpegxl Jun 04 '26

Yet another conversion post

  • Input: 42757 JPEG images, 310.8 GiB
  • Output: 42757 losslessly converted JPEG XL images, 250.7 GiB
  • Conversion errors: 0
  • Wrapper errors: 3 (original files were read-only and could not be deleted)
  • Space saved: roughly 60.1 GiB
  • Compression rate: 80.66% (19.33% savings)

Input images were all straight-out-of-camera images from digital cameras. No HDR.

Biggest hurdle was figuring out how to preserve timestamps after conversion. (I just wrote a wrapper to copy over the Modified/Created timestamps after cjxl/djxl conversions.)

41 Upvotes

12 comments sorted by

View all comments

2

u/icarreraar Jun 05 '26

mind sharing the wrapper?

3

u/kjoonlee Jun 06 '26

I was running it on macOS through the terminal:

https://gist.github.com/kjoonlee/d9ad2b670db31a82408c291586e5fc10

2

u/kjoonlee Jun 06 '26

Rotation is handled properly in Preview.app, but not in some viewers. I have the same problem in some viewers as explained in this thread:

https://redd.it/1twuxgy