Skip to content

Commit

Permalink
Lossy WebP: Enable sharp RGB to YUV conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
DeeJayLSP committed Jul 9, 2023
1 parent 85c9db5 commit 31ca736
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 31ca736

Please sign in to comment.