Skip to content

Commit

Permalink
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 fda09e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/webp/webp_common.cpp
Expand Up @@ -83,6 +83,7 @@ Vector<uint8_t> _webp_packer(const Ref<Image> &p_image, float p_quality, bool p_
config.exact = 1;
}
config.method = compression_method;
config.use_sharp_yuv = 1;
config.quality = p_quality;
pic.use_argb = 1;
pic.width = s.width;
Expand Down

0 comments on commit fda09e5

Please sign in to comment.