From 31ca73653629861d16213e2750d018cf49ec946f Mon Sep 17 00:00:00 2001 From: DeeJayLSP Date: Sun, 9 Jul 2023 18:04:23 -0300 Subject: [PATCH] Lossy WebP: Enable sharp RGB to YUV conversion --- modules/webp/webp_common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/webp/webp_common.cpp b/modules/webp/webp_common.cpp index 60cb0091e1ee..bc34a25733e8 100644 --- a/modules/webp/webp_common.cpp +++ b/modules/webp/webp_common.cpp @@ -84,6 +84,7 @@ Vector _webp_packer(const Ref &p_image, float p_quality, bool p_ } config.method = compression_method; config.quality = p_quality; + config.use_sharp_yuv = 1; pic.use_argb = 1; pic.width = s.width; pic.height = s.height;