From: cristy Date: Wed, 8 Aug 2012 12:07:39 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5179 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37cdc081cfbe657679e255c73a62e551e75c9593;p=imagemagick --- diff --git a/MagickCore/pixel-accessor.h b/MagickCore/pixel-accessor.h index 496e8f94e..336702066 100644 --- a/MagickCore/pixel-accessor.h +++ b/MagickCore/pixel-accessor.h @@ -35,7 +35,7 @@ static inline double CompandsRGB(const double pixel) { if (pixel <= (0.0031308*QuantumRange)) return(12.92*pixel); - return(1.055*QuantumRange*pow(QuantumScale*pixel,1.0/2.4)-0.055); + return(QuantumRange*(1.055*pow(QuantumScale*pixel,1.0/2.4)-0.055)); } static inline double DecompandsRGB(const double pixel)