point.x=GetPseudoRandomValue(random_info[id]);
point.y=GetPseudoRandomValue(random_info[id]);
- status=InterpolatePixelChannels(image,image_view,spread_image,method,
+ status=InterpolatePixelChannels(image,image_view,spread_image,
+ method == UndefinedInterpolatePixel ? NearestInterpolatePixel : method,
(double) x+width*(point.x-0.5),(double) y+width*(point.y-0.5),q,
exception);
q+=GetPixelChannels(spread_image);
0.072186f*pixel[image->channel_map[BluePixelChannel].offset];
return(intensity);
}
- intensity=0.212656f*DecodePixelGamma(
+ intensity=0.212656f*DecodePixelGamma((MagickRealType)
pixel[image->channel_map[RedPixelChannel].offset])+0.715158f*
- DecodePixelGamma(pixel[image->channel_map[GreenPixelChannel].offset])+
- 0.072186f*DecodePixelGamma(
+ DecodePixelGamma((MagickRealType)
+ pixel[image->channel_map[GreenPixelChannel].offset])+0.072186f*
+ DecodePixelGamma((MagickRealType)
pixel[image->channel_map[BluePixelChannel].offset]);
return(intensity);
}
MAGICK_VERSION=7.0.0-0
-MAGICK_SVN_REVISION=19325:19327
+MAGICK_SVN_REVISION=Unversioned
# Substitute library versioning