All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

GMImage.FloodFillOpacity

Component: GraphicsMagick
Mac OS X: Works
Windows: Works

MBS( "GMImage.FloodFillOpacity"; ImageRef; x; y; opacity; PaintMethod )

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 1
x The X Position 0
y The Y Position 0
opacity A value from 0 to 255 127
PaintMethod PointMethod = 0, ReplaceMethod = 1, FloodfillMethod = 2, FillToBorderMethod = 3, ResetMethod = 4 1

Result

Returns "OK" on success.

Description

Floodfill pixels matching color (within fuzz factor) of target pixel(x,y) with replacement opacity value using method.

Feedback: Report problem or ask question.