From 8a9c6d0e977ce4df6a334f58fa5e46772200b4d6 Mon Sep 17 00:00:00 2001 From: Angelo Bulfone Date: Sat, 15 Mar 2025 13:47:04 -0700 Subject: [PATCH] Add a couple additional image file extensions Add `jxl` and `qoi` to the list of file extensions recognized as image formats. --- src/files/type-from-ext/extToType.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/files/type-from-ext/extToType.js b/src/files/type-from-ext/extToType.js index c93611517..a5d86c6d2 100644 --- a/src/files/type-from-ext/extToType.js +++ b/src/files/type-from-ext/extToType.js @@ -77,6 +77,7 @@ const extToType = { jng: 'image', jpeg: 'image', jpg: 'image', + jxl: 'image', jfif: 'image', jp2: 'image', jps: 'image', @@ -161,6 +162,7 @@ const extToType = { sid: 'image', ras: 'image', sun: 'image', + qoi: 'image', 123: 'calc', '12m': 'calc', _xls: 'calc',