From: Cristy Date: Sat, 24 Nov 2018 22:59:51 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.8-15~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4355e23195477f55a51327aada23f309321ec06;p=imagemagick ... --- diff --git a/MagickCore/enhance.c b/MagickCore/enhance.c index dcd8d56be..51d5da622 100644 --- a/MagickCore/enhance.c +++ b/MagickCore/enhance.c @@ -2136,7 +2136,8 @@ MagickExport MagickBooleanType EqualizeImage(Image *image, { if ((GetPixelRedTraits(image) & UpdatePixelTrait) != 0) { - PixelChannel channel = GetPixelChannelChannel(image,RedPixelChannel); + PixelChannel channel = GetPixelChannelChannel(image, + RedPixelChannel); if (black[channel] != white[channel]) image->colormap[j].red=equalize_map[GetPixelChannels(image)* ScaleQuantumToMap(ClampToQuantum(image->colormap[j].red))+ @@ -2153,7 +2154,8 @@ MagickExport MagickBooleanType EqualizeImage(Image *image, } if ((GetPixelBlueTraits(image) & UpdatePixelTrait) != 0) { - PixelChannel channel = GetPixelChannelChannel(image,BluePixelChannel); + PixelChannel channel = GetPixelChannelChannel(image, + BluePixelChannel); if (black[channel] != white[channel]) image->colormap[j].blue=equalize_map[GetPixelChannels(image)* ScaleQuantumToMap(ClampToQuantum(image->colormap[j].blue))+