mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Merge pull request #79257 from DeeJayLSP/sharpp
Lossy WebP: Enable sharp RGB to YUV conversion
This commit is contained in:
@@ -84,6 +84,7 @@ Vector<uint8_t> _webp_packer(const Ref<Image> &p_image, float p_quality, bool p_
|
|||||||
}
|
}
|
||||||
config.method = compression_method;
|
config.method = compression_method;
|
||||||
config.quality = p_quality;
|
config.quality = p_quality;
|
||||||
|
config.use_sharp_yuv = 1;
|
||||||
pic.use_argb = 1;
|
pic.use_argb = 1;
|
||||||
pic.width = s.width;
|
pic.width = s.width;
|
||||||
pic.height = s.height;
|
pic.height = s.height;
|
||||||
|
|||||||
Reference in New Issue
Block a user