Skip to content

Commit

Permalink
Merge pull request #79257 from DeeJayLSP/sharpp
Browse files Browse the repository at this point in the history
Lossy WebP: Enable sharp RGB to YUV conversion
  • Loading branch information
YuriSizov committed Jul 25, 2023
2 parents 4b0d102 + 31ca736 commit 8dc1931
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/webp/webp_common.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 8dc1931

Please sign in to comment.