feat: svg support
This commit is contained in:
parent
603678ba34
commit
a87a7bc0a1
5 changed files with 301 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue