mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-12 15:34:22 +00:00
svg_loader: Add embedded webp mime type
Fixes loading _webp_ images embedded in SVG.
This commit is contained in:
parent
74496daad9
commit
839ffe40c6
1 changed files with 1 additions and 0 deletions
|
@ -508,6 +508,7 @@ static constexpr struct
|
|||
} imageMimeTypes[] = {
|
||||
{"jpeg", sizeof("jpeg"), imageMimeTypeEncoding::base64},
|
||||
{"png", sizeof("png"), imageMimeTypeEncoding::base64},
|
||||
{"webp", sizeof("webp"), imageMimeTypeEncoding::base64},
|
||||
{"svg+xml", sizeof("svg+xml"), imageMimeTypeEncoding::base64 | imageMimeTypeEncoding::utf8},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue