From: cristy Date: Thu, 9 Feb 2012 00:07:05 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6216 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1cac8fa2a79156e169e311a238affcf5225a6f1e;p=imagemagick --- diff --git a/MagickCore/image.c b/MagickCore/image.c index 938cd2370..dae5ba27d 100644 --- a/MagickCore/image.c +++ b/MagickCore/image.c @@ -174,7 +174,7 @@ MagickExport Image *AcquireImage(const ImageInfo *image_info, image->depth=MAGICKCORE_QUANTUM_DEPTH; image->colorspace=sRGBColorspace; image->rendering_intent=PerceptualIntent; - image->gamma=0.45455f; + image->gamma=0.45455; image->chromaticity.red_primary.x=0.6400f; image->chromaticity.red_primary.y=0.3300f; image->chromaticity.green_primary.x=0.3000f; diff --git a/PerlMagick/t/getattribute.t b/PerlMagick/t/getattribute.t index 6ebe821cb..39932e83d 100644 --- a/PerlMagick/t/getattribute.t +++ b/PerlMagick/t/getattribute.t @@ -45,7 +45,7 @@ testGetAttribute('input.miff','columns','70'); testGetAttribute('input.miff','directory',undef); ++$test; -testGetAttribute('input.miff','gamma','0'); +testGetAttribute('input.miff','gamma','0.45455'); ++$test; testGetAttribute('input.miff','geometry',undef);