Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have you considered changing wallpaper file format to JPEG-XL? #120

Open
p4vook opened this issue Nov 7, 2022 · 2 comments
Open

Have you considered changing wallpaper file format to JPEG-XL? #120

p4vook opened this issue Nov 7, 2022 · 2 comments

Comments

@p4vook
Copy link

p4vook commented Nov 7, 2022

I know, I know. Yet another change would be just a bit painful. But it has some upsides:

  1. (probably the most important one). The AVIF encoder you currently use is painfully slow. It took more than 1 CPU-day (!!) on Intel Tiger Lake CPU at 2.8 GHz to convert Mojave wallpaper. That's unacceptable to me. In comparison, JPEG-XL set to lossless converted the same wallpaper in under 10 (!!) CPU-minutes, while achieving comparable to AVIF file size (less than +35%). That's more than a 21600% performance improvement!.
  2. Great lossless compression. JPEG-XL is considered to be best-in-class lossless image codec (see https://docs.google.com/spreadsheets/d/1ju4q1WkaXT7WoxZINmQpf4ElgMD2VMlqeDN2DuZ6yJ8/edit?usp=sharing).
  3. Really clever encoding system, which allows for large detail-rich art to be encoded in under 2KB size (!) (see examples at https://jpegxl.info/art/)
  4. "Out-of-the-box" support of extremely large image sizes (>8K), which might be a nice feature in the near future.

JPEG XL has all the features cool codecs have today, while being royalty-free (just like AVIF) and efficient (both in size and performance).
What do you think?

@zzag
Copy link
Owner

zzag commented Nov 7, 2022

I'll consider it. FTR kdynamicwallpaperbuilder has a speed option, not sure if it's mentioned in the docs. Check kdynamicwallpaperbuilder --help for more details.

@zzag
Copy link
Owner

zzag commented Nov 7, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants