From 59a0702df2002e5519ec9f27459b834f9441035f Mon Sep 17 00:00:00 2001 From: Mohd Hassan Khan <149296407+hassankhan2608@users.noreply.github.com> Date: Fri, 15 Aug 2025 18:21:29 +0530 Subject: [PATCH] feat: add HEIF, HEIC, and WebP to image extensions - Added some image formats: heif, heic, webp --- internal/category/category.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/category/category.go b/internal/category/category.go index 342ced5..2c16549 100644 --- a/internal/category/category.go +++ b/internal/category/category.go @@ -18,7 +18,7 @@ const ( var ( documentExtensions = []string{"doc", "docx", "ppt", "pptx", "pps", "ppsx", "odt", "xls", "xlsx", "csv", "pdf", "txt"} - imageExtensions = []string{"jpg", "jpeg", "png", "gif", "bmp", "svg"} + imageExtensions = []string{"jpg", "jpeg", "png", "gif", "bmp", "svg", "webp", "heif", "heic"} videoExtensions = []string{"mp4", "webm", "mov", "avi", "m4v", "flv", "wmv", "mkv", "mpg", "mpeg", "m2v", "mpv"} audioExtensions = []string{"mp3", "wav", "ogg", "m4a", "flac", "aac", "wma", "aiff", "ape", "alac", "opus", "pcm"} archiveExtensions = []string{"zip", "rar", "tar", "gz", "7z", "iso", "dmg", "pkg"}