From 169593ea3689e50388dbda13984cbb9bc3d7ce1c Mon Sep 17 00:00:00 2001 From: Ruin0x11 Date: Fri, 7 May 2021 14:36:58 -0700 Subject: Add AVIF/HEIC detection ffmpeg doesn't support HEIC decoding yet... --- client/html/post_merge_side.tpl | 2 ++ client/html/post_readonly_sidebar.tpl | 2 ++ 2 files changed, 4 insertions(+) (limited to 'client/html') diff --git a/client/html/post_merge_side.tpl b/client/html/post_merge_side.tpl index 53dd31f..ad50a2e 100644 --- a/client/html/post_merge_side.tpl +++ b/client/html/post_merge_side.tpl @@ -36,6 +36,8 @@ 'image/jpeg': 'JPEG', 'image/png': 'PNG', 'image/webp': 'WEBP', + 'image/avif': 'AVIF', + 'image/heic': 'HEIC', 'video/webm': 'WEBM', 'video/mp4': 'MPEG-4', 'application/x-shockwave-flash': 'SWF', diff --git a/client/html/post_readonly_sidebar.tpl b/client/html/post_readonly_sidebar.tpl index cfbfd10..01a086d 100644 --- a/client/html/post_readonly_sidebar.tpl +++ b/client/html/post_readonly_sidebar.tpl @@ -9,6 +9,8 @@ 'image/jpeg': 'JPEG', 'image/png': 'PNG', 'image/webp': 'WEBP', + 'image/avif': 'AVIF', + 'image/heic': 'HEIC', 'video/webm': 'WEBM', 'video/mp4': 'MPEG-4', 'application/x-shockwave-flash': 'SWF', -- cgit v1.3