Support for avif image format
This commit is contained in:
parent
cd5ac544bb
commit
5ce896609a
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@ type MIMETypeSupportMap = Record<string, boolean>;
|
||||||
|
|
||||||
// See: https://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support
|
// See: https://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support
|
||||||
const SUPPORTED_IMAGE_MIME_TYPES: MIMETypeSupportMap = {
|
const SUPPORTED_IMAGE_MIME_TYPES: MIMETypeSupportMap = {
|
||||||
|
'image/avif': true,
|
||||||
'image/bmp': true,
|
'image/bmp': true,
|
||||||
'image/gif': true,
|
'image/gif': true,
|
||||||
'image/jpeg': true,
|
'image/jpeg': true,
|
||||||
|
|
Loading…
Reference in a new issue