feat: svg support

This commit is contained in:
electria 2026-08-14 10:25:46 -07:00
commit a87a7bc0a1
Signed by: electria
SSH key fingerprint: SHA256:8LlB3ucPbBHqozqkhsNbaV5oG3SlzzqUj8FZDL6IPQs
5 changed files with 301 additions and 8 deletions

View file

@ -15,6 +15,7 @@ use iced::{
use image::{EncodableLayout, RgbaImage, imageops};
use size::Size;
mod svg;
mod utils;
#[derive(Clone, Debug)]
@ -302,6 +303,7 @@ impl State {
fn main() -> Result<(), iced::Error> {
jxl_oxide::integration::register_image_decoding_hook();
kra_image_integration::register();
svg::register();
iced::application(State::new, State::update, State::view)
.subscription(State::subscription)