From: cristy Date: Mon, 8 Dec 2014 16:47:44 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~1668 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f28f7ff2cde81445ad10e98b5219a3f87e1e648;p=imagemagick --- diff --git a/coders/bmp.c b/coders/bmp.c index 7bfd065b8..bb48b4fd5 100644 --- a/coders/bmp.c +++ b/coders/bmp.c @@ -1288,9 +1288,9 @@ static Image *ReadBMPImage(const ImageInfo *image_info,ExceptionInfo *exception) SetPixelRed(image,ScaleShortToQuantum((unsigned short) red),q); SetPixelGreen(image,ScaleShortToQuantum((unsigned short) green),q); SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q); - SetPixelAlpha(image,OpaqueAlpha,q); + SetPixelOpacity(image,OpaqueAlpha,q); if (image->alpha_trait == BlendPixelTrait) - SetPixelAlpha(image,ScaleShortToQuantum((unsigned short) + SetPixelOpacity(image,ScaleShortToQuantum((unsigned short) opacity),q); q+=GetPixelChannels(image); }