feat: SVG support in Image viewer app

This commit is contained in:
2026-05-18 20:07:37 +02:00
parent 47e3bb54a5
commit 6ac9ae01b0
3 changed files with 93 additions and 1 deletions
@@ -45,7 +45,9 @@ bool str_ends_with(const char* s, const char* suffix) {
}
bool is_image_file(const char* name) {
return str_ends_with(name, ".jpg") || str_ends_with(name, ".jpeg");
return str_ends_with(name, ".jpg")
|| str_ends_with(name, ".jpeg")
|| str_ends_with(name, ".svg");
}
bool is_font_file(const char* name) {