feat: enable JPEG-XL and AVIF image support
This commit is contained in:
parent
7e7b0261c3
commit
e9ab9e74a5
4 changed files with 376 additions and 2 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue