Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

GMImageMBS.floodFillColor(point as GMGeometryMBS, fillColor as GMColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Flood-fill color across pixels that match the color of the target pixel and are neighbors of the target pixel.
Notes: Uses current fuzz setting when determining color match.

See also:

Feedback, Comments & Corrections

GMImageMBS.floodFillColor(point as GMGeometryMBS, fillColor as GMColorMBS, borderColor as GMColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Flood-fill color across pixels starting at target-pixel and stopping at pixels matching specified border color.
Notes: Uses current fuzz setting when determining color match:

See also:

Feedback, Comments & Corrections

GMImageMBS.floodFillColor(x as UInt32, y as UInt32, fillColor as GMColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Flood-fill color across pixels that match the color of the target pixel and are neighbors of the target pixel.
Notes: Uses current fuzz setting when determining color match.

See also:

Feedback, Comments & Corrections

GMImageMBS.floodFillColor(x as UInt32, y as UInt32, fillColor as GMColorMBS, borderColor as GMColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Flood-fill color across pixels starting at target-pixel and stopping at pixels matching specified border color.
Notes: Uses current fuzz setting when determining color match:

See also:

Feedback, Comments & Corrections

GMImageMBS.floodFillOpacity(x as UInt32, y as UInt32, opacity as UInt32, PaintMethod as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Flood-fill pixels matching color (within fuzz factor) of target pixel(x,y) with replacement opacity value using method.

Feedback, Comments & Corrections

GMImageMBS.floodFillTexture(point as GMGeometryMBS, fillColor as GMColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Flood-fill texture across pixels that match the color of the target pixel and are neighbors of the target pixel.
Notes: Uses current fuzz setting when determining color match.

See also:

Feedback, Comments & Corrections

GMImageMBS.floodFillTexture(point as GMGeometryMBS, fillColor as GMColorMBS, borderColor as GMColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Flood-fill texture across pixels starting at target-pixel and stopping at pixels matching specified border color.
Notes: Uses current fuzz setting when determining color match.

See also:

Feedback, Comments & Corrections

GMImageMBS.floodFillTexture(x as UInt32, y as UInt32, fillColor as GMColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Flood-fill texture across pixels that match the color of the target pixel and are neighbors of the target pixel.
Notes: Uses current fuzz setting when determining color match.

See also:

Feedback, Comments & Corrections

GMImageMBS.floodFillTexture(x as UInt32, y as UInt32, fillColor as GMColorMBS, borderColor as GMColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Flood-fill texture across pixels starting at target-pixel and stopping at pixels matching specified border color.
Notes: Uses current fuzz setting when determining color match.

See also:

Feedback, Comments & Corrections

GMImageMBS.flop
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Flop image (reflect each scanline in the horizontal direction).
Example:
dim p as Picture = LogoMBS(500)
dim image as new GMImageMBS(p)

image.flop

Backdrop=image.CopyPicture

Feedback, Comments & Corrections

GMImageMBS.font as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Text rendering font.
Notes:
If the font is a fully qualified X server font name, the font is obtained from an X server. To use a TrueType font, precede the TrueType filename with an @. Otherwise, specify a Postscript font name (e.g. "helvetica").
(Read and Write computed property)

Feedback, Comments & Corrections

GMImageMBS.fontPointsize as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Text rendering font point size.
Notes: (Read and Write computed property)

Feedback, Comments & Corrections

GMImageMBS.fontTypeMetrics(name as string) as GMTypeMetricMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 16.4 Yes Yes Yes Yes No
Function: Obtain font metrics for text string given current font, pointsize, and density settings.

Feedback, Comments & Corrections

GMImageMBS.format as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Long image format description.

Feedback, Comments & Corrections

GMImageMBS.frame
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Draw a decorative frame around the image.
Example:
dim p as Picture = LogoMBS(500)
dim image as new GMImageMBS(p)

image.frame

Backdrop=image.CopyPicture

See also:

Feedback, Comments & Corrections

GMImageMBS.frame(geometry as GMGeometryMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Draw a decorative frame around the image.
Example:
dim p as Picture = LogoMBS(500)
dim image as new GMImageMBS(p)

image.frame(GMGeometryMBS.Make("10x10"))

Backdrop=image.CopyPicture

See also:

Feedback, Comments & Corrections

GMImageMBS.frame(width as UInt32, height as UInt32, innerBevel as Integer=6, outerBevel as Integer=6)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Draw a decorative frame around the image.
Example:
dim p as Picture = LogoMBS(500)
dim image as new GMImageMBS(p)

image.frame(15,15)

Backdrop=image.CopyPicture

See also:

Feedback, Comments & Corrections

GMImageMBS.gamma as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Gamma correct the image or individual image channels.
Example:
dim p as Picture = LogoMBS(500)
dim image as new GMImageMBS(p)

image.gamma = 3.0

Backdrop=image.CopyPicture
Notes:
If you get the value, it is the gamma level of the image. Gamma is a pow() function which converts between the linear light representation and the representation for the computer display. Most computer images are gamma corrected to 2.2 (1/0.4545) so that each step results in a visually linear step on a computer or video display:
(Read and Write computed property)

See also:

Feedback, Comments & Corrections

GMImageMBS.gamma(gammaRed as Double, gammaGreen as Double, gammaBlue as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Gamma correct the image or individual image channels.
Example:
dim p as Picture = LogoMBS(500)
dim image as new GMImageMBS(p)

image.gamma(1,2,3)

Backdrop=image.CopyPicture

See also:

Feedback, Comments & Corrections

GMImageMBS.gaussianBlur(width as Double, sigma as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Gaussian blur image.
Example:
dim p as Picture = LogoMBS(500)
dim image as new GMImageMBS(p)

image.gaussianBlur(30, 10)

Backdrop=image.CopyPicture
Notes: The number of neighbor pixels to be included in the convolution mask is specified by width. The standard deviation of the gaussian bell curve is specified by sigma

Feedback, Comments & Corrections

GMImageMBS.gaussianBlurChannel(channel as Integer, width as Double, sigma as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Gaussian blur image channel.
Notes: The number of neighbor pixels to be included in the convolution mask is specified by width. The standard deviation of the gaussian bell curve is specified by sigma.

Feedback, Comments & Corrections

GMImageMBS.geometry as GMGeometryMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Preferred size of the image when encoding.

Feedback, Comments & Corrections

GMImageMBS.getChromaBluePrimary(byref x as Double, byref y as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Chromaticity blue primary point.

Feedback, Comments & Corrections

GMImageMBS.getchromaGreenPrimary(byref x as Double, byref y as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Chromaticity green primary point.
Notes: e.g. x=0.3, y=0.6

Feedback, Comments & Corrections

GMImageMBS.getchromaRedPrimary(byref x as Double, byref y as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Chromaticity red primary point
Notes: e.g. x=0.64, y=0.33

Feedback, Comments & Corrections

GMImageMBS.getchromaWhitePoint(byref x as Double, byref y as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 9.3 Yes Yes Yes Yes No
Function: Chromaticity white point
Notes: e.g. x=0.3127, y=0.329

Feedback, Comments & Corrections

GMImageMBS.getConstIndexes as Ptr
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 16.4 Yes Yes Yes Yes No
Function: Obtain immutable image pixel indexes (valid for PseudoClass images)

Feedback, Comments & Corrections

GMImageMBS.getConstPixels(x as Integer, y as Integer, columns as Integer, rows as Integer) as Ptr
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 16.4 Yes Yes Yes Yes No
Function: Transfers read-only pixels from the image to the pixel cache as defined by the specified region

Feedback, Comments & Corrections

GMImageMBS.getIndexes as Ptr
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 16.4 Yes Yes Yes Yes No
Function: Obtain mutable image pixel indexes (valid for PseudoClass images)

Feedback, Comments & Corrections

GMImageMBS.getPixels(x as Integer, y as Integer, columns as Integer, rows as Integer) as Ptr
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 16.4 Yes Yes Yes Yes No
Function: Transfers pixels from the image to the pixel cache as defined by the specified region.
Example:
dim f as FolderItem = SpecialFolder.Desktop.Child("test.jpg")
dim g as new GMImageMBS(f)

// get pointer to some pixels to write
dim x as ptr = g.getPixels(0, 0, 100, 100)

// draw a red line to the pixel buffer
dim o as Integer
for i as Integer = 0 to 99
o = 100 * i + i
x.UInt32(o * 4) = &hFFFF0000
next

// write back
g.syncPixels

// show
me.Backdrop = g.CopyPicture
Notes: Modified pixels may be subsequently transferred back to the image via syncPixels. This method is valid for DirectClass images.

Feedback, Comments & Corrections

Previous items Next items

The items on this page are in the following plugins: MBS GraphicsMagick Plugin.





Links
MBS Xojo Chart Plugins