From 1f99bbbc397ef090298abb11236d138c13e79790 Mon Sep 17 00:00:00 2001 From: Nutcake Date: Wed, 24 Jan 2024 05:49:27 +0100 Subject: [PATCH] Change WebP compression method Closes #7 --- Source/FreeImage/PluginWebP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/FreeImage/PluginWebP.cpp b/Source/FreeImage/PluginWebP.cpp index 2600654..1861135 100644 --- a/Source/FreeImage/PluginWebP.cpp +++ b/Source/FreeImage/PluginWebP.cpp @@ -472,7 +472,7 @@ EncodeImage(FIMEMORY *hmem, FIBITMAP *dib, int flags) { config.thread_level = 1; // quality/speed trade-off (0=fast, 6=slower-better) - config.method = 6; + config.method = 0; config.exact = (flags & WEBP_EXACT) == WEBP_EXACT;