SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q);
SetPixelAlpha(image,OpaqueAlpha,q);
if (image->alpha_trait == BlendPixelTrait)
- SetPixelAlpha(image,
- ScaleShortToQuantum((unsigned short) opacity),q);
+ SetPixelAlpha(image,ScaleShortToQuantum((unsigned short)
+ opacity),q);
q+=GetPixelChannels(image);
}
if (SyncAuthenticPixels(image,exception) == MagickFalse)
SetPixelBlue(image,ScaleShortToQuantum((unsigned short) blue),q);
SetPixelAlpha(image,OpaqueAlpha,q);
if (image->alpha_trait == BlendPixelTrait)
- SetPixelAlpha(image,
- ScaleShortToQuantum((unsigned short) opacity),q);
+ SetPixelAlpha(image,ScaleShortToQuantum((unsigned short)
+ opacity),q);
q+=GetPixelChannels(image);
}
if (SyncAuthenticPixels(image,exception) == MagickFalse)