From: Cristy Date: Thu, 31 Jan 2019 12:38:50 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.8-26~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa5bcab23fe09e317eea0fc8775df6452ba90471;p=imagemagick ... --- diff --git a/coders/webp.c b/coders/webp.c index c45d66633..bbc51be12 100644 --- a/coders/webp.c +++ b/coders/webp.c @@ -729,6 +729,11 @@ static MagickBooleanType WriteWEBPImage(const ImageInfo *image_info, value=GetImageOption(image_info,"webp:thread-level"); if (value != (char *) NULL) configure.thread_level=StringToInteger(value); +#endif +#if WEBP_DECODER_ABI_VERSION >= 0x020e + value=GetImageOption(image_info,"webp:use-sharp-yuv"); + if (value != (char *) NULL) + configure.use_sharp_yuv=StringToInteger(value); #endif if (WebPValidateConfig(&configure) == 0) ThrowWriterException(ResourceLimitError,"UnableToEncodeImageFile");