Support for avif image format

This commit is contained in:
Alvaro 2023-03-07 13:52:49 -07:00 committed by GitHub
parent cd5ac544bb
commit 5ce896609a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,