From 91316380f3ac4f53ba86fc2ad98742019ad1419d Mon Sep 17 00:00:00 2001 From: azu Date: Sun, 22 Oct 2023 20:29:21 +0900 Subject: [PATCH] fix: add 'avif' format --- src/image-type.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/image-type.ts b/src/image-type.ts index 73ca69f..46d2e84 100644 --- a/src/image-type.ts +++ b/src/image-type.ts @@ -16,7 +16,8 @@ const supportedImageTypes = [ "jpx", "heic", "cur", - "dcm" + "dcm", + "avif" ]; export type SupportedImageTypes = (typeof supportedImageTypes)[number]; const imageExts = new Set(supportedImageTypes);