Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

GM16ImageMBS.emboss(radius as Double=0.0, sigma as Double=1.0)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 Yes Yes Yes Yes No
Function: Emboss image (hilight edges with 3D effect).
Example:
dim p as Picture = LogoMBS(500)
dim image as new GM16ImageMBS(p)

image.emboss

Backdrop=image.CopyPicture
Notes: The radius parameter specifies the radius of the Gaussian, in pixels, not counting the center pixel. The sigma parameter specifies the standard deviation of the Laplacian, in pixels.

Feedback, Comments & Corrections

GM16ImageMBS.enhance
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 Yes Yes Yes Yes No
Function: Enhance image (minimize noise).
Example:
dim p as Picture = LogoMBS(500)
dim image as new GM16ImageMBS(p)

image.enhance

Backdrop=image.CopyPicture

Feedback, Comments & Corrections

GM16ImageMBS.erase
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 Yes Yes Yes Yes No
Function: Set all image pixels to the current background color.

Feedback, Comments & Corrections

GM16ImageMBS.extent(geo as GM16GeometryMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 19.0 Yes Yes Yes Yes No
Function: Create an image canvas using background color sized according to geometry and composite existing image on it, with image placement controlled by gravity.
Example:
dim f as folderitem = SpecialFolder.Desktop.Child("test.jpg")
dim image as new GM16ImageMBS(f)

// extend image to fit
dim geo as new GM16GeometryMBS(500,500)
image.extent geo

window1.Title = image.formatExpression("%wx%h")
window1.Backdrop = image.CopyPicture
Notes: Parameters are obtained from existing image properties if they are not specified via a method parameter. Parameters which are supported by image properties (gravity and backgroundColor) update those image properties as a side-effect.

See also:

Feedback, Comments & Corrections

GM16ImageMBS.extent(geo as GM16GeometryMBS, backgroundColor as GM16ColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 19.0 Yes Yes Yes Yes No
Function: Create an image canvas using background color sized according to geometry and composite existing image on it, with image placement controlled by gravity.
Example:
dim f as folderitem = SpecialFolder.Desktop.Child("test.jpg")
dim image as new GM16ImageMBS(f)

// extend image to fit
dim geo as new GM16GeometryMBS(500,500)
dim col as GM16ColorMBS = GM16ColorMBS.Black
image.extent geo, col

window1.Title = image.formatExpression("%wx%h")
window1.Backdrop = image.CopyPicture
Notes: Parameters are obtained from existing image properties if they are not specified via a method parameter. Parameters which are supported by image properties (gravity and backgroundColor) update those image properties as a side-effect.

See also:

Feedback, Comments & Corrections

GM16ImageMBS.extent(geo as GM16GeometryMBS, backgroundColor as GM16ColorMBS, gravity as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 19.0 Yes Yes Yes Yes No
Function: Create an image canvas using background color sized according to geometry and composite existing image on it, with image placement controlled by gravity.
Example:
dim f as folderitem = SpecialFolder.Desktop.Child("test.jpg")
dim image as new GM16ImageMBS(f)

// extend image to fit
dim geo as new GM16GeometryMBS(500,500)
dim col as GM16ColorMBS = GM16ColorMBS.Black
image.extent geo, col

window1.Title = image.formatExpression("%wx%h")
window1.Backdrop = image.CopyPicture
Notes: Parameters are obtained from existing image properties if they are not specified via a method parameter. Parameters which are supported by image properties (gravity and backgroundColor) update those image properties as a side-effect.

See also:

Feedback, Comments & Corrections

GM16ImageMBS.extent(geo as GM16GeometryMBS, gravity as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 19.0 Yes Yes Yes Yes No
Function: Create an image canvas using background color sized according to geometry and composite existing image on it, with image placement controlled by gravity.
Example:
dim f as folderitem = SpecialFolder.Desktop.Child("test.jpg")
dim image as new GM16ImageMBS(f)

// resize proportionally to fit
dim geo as new GM16GeometryMBS(500,500)
image.extent geo, image.CenterGravity

window1.Title = image.formatExpression("%wx%h")
window1.Backdrop = image.CopyPicture
Notes: Parameters are obtained from existing image properties if they are not specified via a method parameter. Parameters which are supported by image properties (gravity and backgroundColor) update those image properties as a side-effect.

See also:

Feedback, Comments & Corrections

GM16ImageMBS.flip
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 Yes Yes Yes Yes No
Function: Flip image (reflect each scanline in the vertical direction).
Example:
dim p as Picture = LogoMBS(500)
dim image as new GM16ImageMBS(p)

image.flip

Backdrop=image.CopyPicture

Feedback, Comments & Corrections

GM16ImageMBS.floodFillColor(point as GM16GeometryMBS, fillColor as GM16ColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 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

GM16ImageMBS.floodFillColor(point as GM16GeometryMBS, fillColor as GM16ColorMBS, borderColor as GM16ColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 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

GM16ImageMBS.floodFillColor(x as UInt32, y as UInt32, fillColor as GM16ColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 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

GM16ImageMBS.floodFillColor(x as UInt32, y as UInt32, fillColor as GM16ColorMBS, borderColor as GM16ColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 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

GM16ImageMBS.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 14.1 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

GM16ImageMBS.floodFillTexture(point as GM16GeometryMBS, fillColor as GM16ColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 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

GM16ImageMBS.floodFillTexture(point as GM16GeometryMBS, fillColor as GM16ColorMBS, borderColor as GM16ColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 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

GM16ImageMBS.floodFillTexture(x as UInt32, y as UInt32, fillColor as GM16ColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 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

GM16ImageMBS.floodFillTexture(x as UInt32, y as UInt32, fillColor as GM16ColorMBS, borderColor as GM16ColorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 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

GM16ImageMBS.flop
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 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 GM16ImageMBS(p)

image.flop

Backdrop=image.CopyPicture

Feedback, Comments & Corrections

GM16ImageMBS.fontTypeMetrics(name as string) as GM16TypeMetricMBS
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

GM16ImageMBS.formatExpression(expression as string) as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 19.0 Yes Yes Yes Yes No
Function: Format the specified expression similar to command line '-format'.
Example:
dim f as folderitem = SpecialFolder.Desktop.Child("test.jpg")
dim image as new GM16ImageMBS(f)

window1.Title = image.formatExpression("%wx%h")
window1.Backdrop = image.CopyPicture
Notes: For example "%wx%h" is converted to a string containing image WIDTHxHEIGHT like "640x480".

Feedback, Comments & Corrections

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

image.frame

Backdrop=image.CopyPicture

See also:

Feedback, Comments & Corrections

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

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

Backdrop=image.CopyPicture

See also:

Feedback, Comments & Corrections

GM16ImageMBS.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 14.1 Yes Yes Yes Yes No
Function: Draw a decorative frame around the image.
Example:
dim p as Picture = LogoMBS(500)
dim image as new GM16ImageMBS(p)

image.frame(15,15)

Backdrop=image.CopyPicture

See also:

Feedback, Comments & Corrections

GM16ImageMBS.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 14.1 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 GM16ImageMBS(p)

image.gamma(1,2,3)

Backdrop=image.CopyPicture

See also:

Feedback, Comments & Corrections

GM16ImageMBS.gaussianBlur(width as Double, sigma as Double)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method GraphicsMagick MBS GraphicsMagick Plugin 14.1 Yes Yes Yes Yes No
Function: Gaussian blur image.
Example:
dim p as Picture = LogoMBS(500)
dim image as new GM16ImageMBS(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

GM16ImageMBS.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 14.1 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

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

Previous items Next items

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




Links
MBS Xojo Plugins