From 6ef2167f664e3ecb7e834e8e5e8ba53495933d7b Mon Sep 17 00:00:00 2001 From: Santhanam Date: Tue, 24 Dec 2024 08:57:42 +0530 Subject: [PATCH] add more image formats added SVG, AVIF, NEF, DDS, EXR, and HDR. Closes #585 --- src/fsearch_filter.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/fsearch_filter.c b/src/fsearch_filter.c index af1eb2ef7..2d8e3a74b 100644 --- a/src/fsearch_filter.c +++ b/src/fsearch_filter.c @@ -88,8 +88,10 @@ static const char *audio_filter = "ext:aac;ac3;aif;aifc;aiff;au;cda;dts;fla;flac "mp2;mp3;mpa;ogg;opus;ra;rmi;spc;rmi;snd;umx;voc;wav;wma;xm;AAC;AC3;AIF;AIFC;AIFF;AU;" "CDA;DTS;FLA;FLAC;IT;M1A;M2A;M3U;M4A;MID;MIDI;MKA;MOD;MP2;MP3;MPA;OGG;OPUS;RA;RMI;" "SPC;RMI;SND;UMX;VOC;WAV;WMA;XM"; -static const char *image_filter = "ext:ani;bmp;gif;ico;jpe;jpeg;jpg;pcx;png;psd;tga;tif;tiff;webp;wmf;ANI;BMP;GIF;ICO;" - "JPE;JPEG;JPG;PCX;PNG;PSD;TGA;TIF;TIFF;WEBP;WMF"; +static const char *image_filter = "ext:ani;bmp;gif;ico;jpe;jpeg;jpg;pcx;png;psd;tga;tif;tiff;webp;svg;avif;nef;dds;exr;" + "hdr;wmf;" + "ANI;BMP;GIF;ICO;JPE;JPEG;JPG;PCX;PNG;PSD;TGA;TIF;TIFF;WEBP;WMF;SVG;AVIF;NEF;DDS;EXR;" + "HDR;WMF;"; static const char *video_filter = "ext:3g2;3gp;3gp2;3gpp;amr;amv;asf;avi;bdmv;bik;d2v;divx;drc;dsa;dsm;dss;dsv;evo;f4v;" "flc;fli;flic;flv;hdmov;ifo;ivf;m1v;m2p;m2t;m2ts;m2v;m4b;m4p;m4v;mkv;mp2v;mp4;mp4v;" "mpe;mpeg;mpg;mpls;mpv2;mpv4;mov;mts;ogm;ogv;pss;pva;qt;ram;ratdvd;rm;rmm;rmvb;roq;" @@ -119,4 +121,4 @@ fsearch_filter_get_default() { filters = g_list_append(filters, fsearch_filter_new(_("Videos"), "video", video_filter, QUERY_FLAG_MATCH_CASE)); return filters; -} +} \ No newline at end of file