break;
for (x=0; x < (ssize_t) image->columns; x++)
{
- SetRGBAPixelComponent(q,&background_color);
+ SetRGBOPixelComponent(q,&background_color);
q++;
}
indexes=GetAuthenticIndexQueue(image);
break;
for (x=0; x < (ssize_t) image->columns; x++)
{
- SetRGBAPixelComponent(q,&background_color);
+ SetRGBOPixelComponent(q,&background_color);
q++;
}
if (SyncAuthenticPixels(image,&image->exception) == MagickFalse)
#define SetOpacityPixelComponent(pixel,value) \
((pixel)->opacity=(Quantum) (value))
#define SetRedPixelComponent(pixel,value) ((pixel)->red=(Quantum) (value))
+#define SetRGBPixelComponent(destination,source) \
+{ \
+ SetRedPixelComponent(destination,GetRedPixelComponent(source)); \
+ SetGreenPixelComponent(destination,GetGreenPixelComponent(source)); \
+ SetBluePixelComponent(destination,GetBluePixelComponent(source)); \
+}
#define SetRGBAPixelComponent(destination,source) \
+{ \
+ SetRedPixelComponent(destination,GetRedPixelComponent(source)); \
+ SetGreenPixelComponent(destination,GetGreenPixelComponent(source)); \
+ SetBluePixelComponent(destination,GetBluePixelComponent(source)); \
+ SetAlphaPixelComponent(destination,GetAlphaPixelComponent(source)); \
+}
+#define SetRGBOPixelComponent(destination,source) \
{ \
SetRedPixelComponent(destination,GetRedPixelComponent(source)); \
SetGreenPixelComponent(destination,GetGreenPixelComponent(source)); \
{
index=(IndexPacket) XGetPixel(ximage,x,y);
SetIndexPixelComponent(indexes+x,index);
- SetRGBAPixelComponent(q,composite_image->colormap+index);
+ SetRGBOPixelComponent(q,composite_image->colormap+index);
q++;
}
if (SyncCacheViewAuthenticPixels(composite_view,exception) == MagickFalse)