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);
}