From 80f0b398fc25e8f1813ea5e2aab565781ed86151 Mon Sep 17 00:00:00 2001 From: onsdagens Date: Thu, 30 Apr 2026 19:48:26 +0200 Subject: [PATCH] Add support for raster images in svg --- crates/egui_extras/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/egui_extras/Cargo.toml b/crates/egui_extras/Cargo.toml index 944576f08c9c..bc95bb450c7d 100644 --- a/crates/egui_extras/Cargo.toml +++ b/crates/egui_extras/Cargo.toml @@ -65,6 +65,9 @@ svg = ["resvg"] ## Support rendering text in svg images. svg_text = ["svg", "resvg/text", "resvg/system-fonts"] +## Support rendering inline raster images in svg images. +svg_images = ["svg", "resvg/raster-images"] + ## Enable better syntax highlighting using [`syntect`](https://docs.rs/syntect). syntect = ["dep:syntect"]