Add .qoi to list of image extensions.

This commit is contained in:
John Preston 2024-05-02 17:17:40 +04:00
parent b7e52119bc
commit 2b580d29ae

View File

@ -245,7 +245,7 @@ QString FileExtension(const QString &filepath) {
NameType DetectNameType(const QString &filepath) {
static const auto kImage = SplitExtensions(u"\
afdesign ai avif bmp dng gif heic icns ico jfif jpeg jpg jpg-large jxl nef \
png png-large psd raw sketch svg tga tif tiff webp"_q);
png png-large psd qoi raw sketch svg tga tif tiff webp"_q);
static const auto kVideo = SplitExtensions(u"\
3g2 3gp 3gpp aep avi flv h264 m4s m4v mkv mov mp4 mpeg mpg ogv srt tgs tgv \
vob webm wmv"_q);