feat: include svg support
This commit is contained in:
parent
01f74bdf85
commit
ebf302cb44
3 changed files with 220 additions and 18 deletions
|
|
@ -1,14 +1,15 @@
|
|||
mod app;
|
||||
mod utils;
|
||||
|
||||
const SUPPORTED_TYPES: &[&str; 20] = &[
|
||||
const SUPPORTED_TYPES: &[&str] = &[
|
||||
"*.png", "*.PNG", "*.jpg", "*.JPG", "*.jpeg", "*.JPEG", "*.avif", "*.jxl", "*.bmp", "*.exr",
|
||||
"*.ff", "*.gif", "*.hdr", "*.ico", "*.pnm", "*.qoi", "*.tga", "*.tiff", "*.webp", "*.kra",
|
||||
"*.svg", "*.svgz",
|
||||
];
|
||||
|
||||
fn main() -> Result<(), impl std::error::Error> {
|
||||
jxl_oxide::integration::register_image_decoding_hook();
|
||||
kra_image_integration::register();
|
||||
misc_image_integration::register();
|
||||
|
||||
app::run()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue