LGFae / swww

A Solution to your Wayland Wallpaper Woes
GNU General Public License v3.0
2.22k stars 67 forks source link

Add support for `avif` and `heif` #45

Open JustSimplyKyle opened 1 year ago

JustSimplyKyle commented 1 year ago

I personally would want to use some "new generation" compression codecs. (Compressed using imagemagick) image

LGFae commented 1 year ago

The image format we support is dependent on the image crate. It seems their support for avif is limited to only 8bit, and for heif it is non existant. It would also add extra dependencies for installing this crate, something I would really rather avoid.

If they were willing to offer a rust-only solution, with no extra dependencies, I'd be more than willing to support it. As it currently stands, I might add a conditional compilation option, but I am not sure it is worth it, mostly because of all its limitations.

MrFoxPro commented 6 months ago

oops, sorry. didn't notice this issue exists here are two .heic images so you can test on them

heic-images.zip