hyprwm / hyprpaper

Hyprpaper is a blazing fast wayland wallpaper utility with IPC controls.
https://wiki.hyprland.org/Hypr-Ecosystem/hyprpaper/
BSD 3-Clause "New" or "Revised" License
759 stars 54 forks source link

Support for JPEG XL images #85

Open CIAvash opened 1 year ago

CIAvash commented 1 year ago

JPEG XL and .jxl extension.

Atemo-C commented 4 months ago

This definitely would be nice. Today, I converted my wallpapers from already highly-optimized PNGs (with oxipng) to lossless .jxl with the cjxl tool like I did with other similar images on my system, saving over a GiB of space on my limited storage with the wallpapers alone. I then realized that none of my wallpapers can be used by Hyprpaper in this format, showing this "error" message.

Not a JPEG file: starts with 0xff 0x0a

JPEG XL is, unfortunately, still not very popular, and it seems like there is little incentive to adopt it in the industry at large, so it is understandable if this is not a priority by any means. Still would be nice to have.


[Edit] (13/06/2024 00:19 UTC) As an interesting example, here is one of my wallpaper directory, with PNG files optimized with oxipng, JPG files with full visual quality, and JXL files with full visual quality. The size difference in less than 200 images is pretty bonkers. image