feat: include svg support

This commit is contained in:
electria 2026-08-16 07:58:15 -07:00
commit ebf302cb44
Signed by: electria
SSH key fingerprint: SHA256:8LlB3ucPbBHqozqkhsNbaV5oG3SlzzqUj8FZDL6IPQs
3 changed files with 220 additions and 18 deletions

View file

@ -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()
}