JPEG XL

276 readers
1 users here now

founded 2 years ago
MODERATORS
1
2
9
Thoughts on AVIF? (lemmy.world)
submitted 3 months ago* (last edited 3 months ago) by that_leaflet@lemmy.world to c/jpegxl@lemmy.world
 
 

Edit: here are the wallpapers if you want to try to reproduce my results: https://drive.proton.me/urls/3JQS48SPQR#TmgLx07up1qg. The heic is a container that includes the light and dark variant. I used magick to split it into two PNGs. I then used the PNGs to create the lossless JXLs and AVIFs.

I really like some of Apple's wallpapers, but use Linux. Since I care about quality, I took Apple's official wallpapers and have been converting them from heic to more Linux friendly formats.

Originally, I went for JPEG XL. Though there were two issues bothering me. First, the colors of the image noticeably changed when converting to JPEG XL, though that could an issue with the converter (I've been using Switcheroo, though I'm not sure which backend it uses). The second issue is that JPEG XL takes longer to load images than other formats.

I then started experimenting with AVIF and had some pretty good results. First, there's no color change. Second, at least with lossless conversion, AVIF uses significantly less space. AVIF used 15.8MB, JXL used 24.4MB, and PNG used 36.7MB. I'm not sure if it's faster than JXL since I'm testing on different, much slower hardware at the moment.

AVIF also, seemingly, I'm not 100% sure, supports progressive decoding: https://github.com/AOMediaCodec/libavif/pull/640

3
4
 
 

Can I find any sample photos anywhere? I wanna test it out

5
6
7
 
 

Developed by the google research time. Pretty ironic

8
 
 

Sorry non discord users, I don't think they have a matrix bridge atm

9
10
 
 

So I took a png and used cjxl v0.10.2 and --distance==0 --effort==9 to convert it to a jxl file. And the result has color inaccuracies.

I checked that both files use RGB. In the Black&White part of the images I cannot see any differences, it seems to really be something about colours o this specific image...

Any idea what I could have done wrong?

11
12
13
 
 

Now the JPEG XL Toolbox is released on App Store.

The Pro in app purchase is FREE until Jan 20, 2024.

The Pro version only enables some tweaks for ProRAW decoding.

All the JPEG XL settings are available for FREE version.

Features:

  • ProRAW to JPEG XL
  • Batch conversion
  • Metadata keeping
  • Supports 4G RAM devices to convert 48 megapixels ProRAW
  • Lossless for JPEG input
  • Keeps HDR effect after the ProRAW to JXL conversion

Features in settings:

  • ProRAW parameters to adjust the decoding process
  • Modular mode
  • Progressive mode
  • Output colorspace
  • Decoding speed option
14
 
 

Happy New Year everyone !

I just released a new version of my android app jxlviewer !

This update bump libjxl version to v0.9.0.

I also hacked a version of Simple Gallery that support jxl files. Try it out !.

My goal is to improve the android library, so that other app can use it safely, and then maybe add official support in Simple Gallery.

Also posted in reddit

15
16
 
 

@jpegxl Will #jpegXL need additional metadata when used with HTML's srcset?
While the format's progressive rendering can do away with the need to have different files per resolution, browsers will instead need to know how much of the image they'll fetch. How would we pass that information to the browser?
Extra syntax in srcset, eg p.jxl, p.jxl \<2040 100w, p.jxl \<6974 200w to tell that for a 100px wide view the browser needs to load the first 2040 bytes? Fragment identifier tricks?

17
18
 
 

Are there any galleries or file managers that support jpeg xl?

So far I only found https://github.com/oupson/jxlviewer

19
 
 

A small list I gathered of software that is yet to support jxl.

20
21
22
23
24