From: Cristy Date: Wed, 27 Dec 2017 15:01:37 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-17~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9caea323ba1346834409d18b49ef60ca4b0fa1f6;p=imagemagick ... --- diff --git a/MagickCore/accelerate-kernels-private.h b/MagickCore/accelerate-kernels-private.h index ac81323cb..3d9dd20cc 100644 --- a/MagickCore/accelerate-kernels-private.h +++ b/MagickCore/accelerate-kernels-private.h @@ -484,7 +484,7 @@ OPENCL_ENDIF() { float intensity; - if (colorspace == GRAYColorspace) + if ((colorspace == GRAYColorspace) || (colorspace == LinearGRAYColorspace)) return red; switch (method)