GetMagickToken(q,&q,token);
(void) QueryColorDatabase(token,&stop_color,&image->exception);
(void) GradientImage(image,LinearGradient,ReflectSpread,
- &start_color,&stop_color);
+ &start_color,&stop_color,&image->exception);
start_color=stop_color;
GetMagickToken(q,&q,token);
break;
}
(void) FloodfillPaintImage(image,draw_info,&target,x,y,
primitive_info->method == FloodfillMethod ? MagickFalse :
- MagickTrue);
+ MagickTrue,exception);
break;
}
case ResetMethod:
case FloodfillMethod:
case FillToBorderMethod:
{
+ ChannelType
+ channel_mask;
+
PixelInfo
target;
target.green=(MagickRealType) draw_info->border_color.green;
target.blue=(MagickRealType) draw_info->border_color.blue;
}
- PushPixelChannelMap(image,AlphaChannel);
+ channel_mask=SetPixelChannelMask(image,AlphaChannel);
(void) FloodfillPaintImage(image,draw_info,&target,x,y,
primitive_info->method == FloodfillMethod ? MagickFalse :
- MagickTrue);
- PopPixelChannelMap(image);
+ MagickTrue,exception);
+ (void) SetPixelChannelMask(image,channel_mask);
break;
}
case ResetMethod: