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.
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user