From 21b110a7d6151add6984def40b3b6b48ecb91c49 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Fri, 12 Nov 2021 10:37:02 +0100 Subject: Use spng to load thumbnails Speed matters here, and this makes us about 20 percent faster at loading large directories. Moreover, libpng's PNG_ALPHA_BROKEN is indeed broken. Thumbnails have a fairly fixed format, so there are very few practical corner cases that could have been missed. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index aaa33a8..1ec2346 100644 --- a/meson.build +++ b/meson.build @@ -7,7 +7,7 @@ gdkpixbuf = dependency('gdk-pixbuf-2.0', required : get_option('gdk-pixbuf')) dependencies = [ dependency('gtk+-3.0'), dependency('libturbojpeg'), - dependency('libpng', version : '>=1.5.4'), + dependency('spng', version : '>=0.7.0'), dependency('pixman-1'), libraw, librsvg, -- cgit v1.2.3-70-g09d2