feat: enable JPEG-XL and AVIF image support

This commit is contained in:
Michael Aaron Murphy 2026-08-17 19:49:14 +02:00 • committed by Michael Murphy
parent 7e7b0261c3
commit e9ab9e74a5
4 changed files with 376 additions and 2 deletions

View file

@ -28,6 +28,9 @@ fn main() -> Result<(), Box<dyn Error>> {
}
}
// Enable jpeg-xl support for image-rs.
let _ = jxl_oxide::integration::register_image_decoding_hook();
match pwd::Passwd::current_user() {
Some(current_user) => match current_user.name.as_str() {
"cosmic-greeter" => greeter::main(),