summaryrefslogtreecommitdiff
path: root/tumblerd
diff options
context:
space:
mode:
authorGaël Bonithon <gael@xfce.org>2021-11-18 09:20:07 +0100
committerGaël Bonithon <gael@xfce.org>2021-12-11 07:52:56 +0100
commit6935184665902097511db1708eaaf78015ff61ac (patch)
treeefbfc5facb2fedd8868b9c086cc4c6088bbc6a25 /tumblerd
parentad680ef6c79a6430ca6bb0b9e48538eb9c64d202 (diff)
downloadtumbler-6935184665902097511db1708eaaf78015ff61ac.tar.gz
pixbuf-thumbnailer: Use a mime-type-specific loader when possible
This allows to fully use the capabilities of the specific pixbuf loader for the considered mime type according to the installed optional libraries. This is especially necessary to load some SVG or HEIF thumbnails. On the other hand, if this specific loader doesn't work properly, it may be even more noticeable. This is the case for libopenraw, for which a dedicated plugin using another API has fortunately been implemented. So we just have to prioritize it in `tumbler.rc`. Fixes #20, #32, #36, see !18 for more details. Co-authored-by: @Krifa75 (Gitlab ID)
Diffstat (limited to 'tumblerd')
-rw-r--r--tumblerd/tumbler.rc9
1 files changed, 5 insertions, 4 deletions
diff --git a/tumblerd/tumbler.rc b/tumblerd/tumbler.rc
index 98334aa..425e783 100644
--- a/tumblerd/tumbler.rc
+++ b/tumblerd/tumbler.rc
@@ -33,16 +33,17 @@ Locations=
Excludes=
MaxFileSize=209715200
-# Supports all type GdkPixbuf supports
-[PixbufThumbnailer]
+# RAW image files using libopenraw (the libopenraw pixbuf loader is kind of
+# broken, hence the priority)
+[RawThumbnailer]
Disabled=false
Priority=2
Locations=
Excludes=
MaxFileSize=209715200
-# RAW image files using libopenraw
-[RawThumbnailer]
+# Supports all type GdkPixbuf supports
+[PixbufThumbnailer]
Disabled=false
Priority=1
Locations=