Explorar o código

Merge pull request #79257 from DeeJayLSP/sharpp

Lossy WebP: Enable sharp RGB to YUV conversion
Yuri Sizov %!s(int64=2) %!d(string=hai) anos
pai
achega
8dc193173f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      modules/webp/webp_common.cpp

+ 1 - 0
modules/webp/webp_common.cpp

@@ -84,6 +84,7 @@ Vector<uint8_t> _webp_packer(const Ref<Image> &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;