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

@ -40,7 +40,7 @@ pub async fn pick_image() -> Result<PathBuf, String> {
"image",
&[
"png", "PNG", "jpg", "JPG", "jpeg", "JPEG", "avif", "jxl", "bmp", "exr", "ff",
"gif", "hdr", "ico", "pnm", "qoi", "tga", "tiff", "webp", "kra",
"gif", "hdr", "ico", "pnm", "qoi", "tga", "tiff", "webp", "kra", "svg", "svgz",
],
)
.pick_file()