danyspin97/wpaperd

avif image cannot be loaded

Closed this issue · 1 comments

I am using Hyprland and the latest version of wpaperd 1.0.1

according to the readme and the link you provide about format support, avif should be supported.

I am using 8-bit lossy encoded avif images.

$ wpaperd
WARN [wpaperd::image_loader] Unsupported(UnsupportedError { format: Exact(Avif), kind: Format(Exact(Avif)) })

Hello @Sendan4, thank you for the report. avif feature was enabled for the image crate but it's only used for deconding. At the current moment only the library libdav1d can decode avif images, I have added an optional feature to fix that.

Now wpaperd supports avif images when built with avif feature.