Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

GMImageMBS.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 9.3 Yes Yes Yes Yes No
Function: Emboss image (hilight edges with 3D effect).
Example:
dim p as Picture = LogoMBS(500)
dim image as new GMImageMBS(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

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

image.enhance

Backdrop=image.CopyPicture

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

GMImageMBS.extent(geo as GMGeometryMBS)
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 GMImageMBS(f)

// extend image to fit
dim geo as new GMGeometryMBS(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

GMImageMBS.extent(geo as GMGeometryMBS, backgroundColor as GMColorMBS)
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 GMImageMBS(f)

// extend image to fit
dim geo as new GMGeometryMBS(500,500)
dim col as GMColorMBS = GMColorMBS.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

GMImageMBS.extent(geo as GMGeometryMBS, backgroundColor as GMColorMBS, 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 GMImageMBS(f)

// extend image to fit
dim geo as new GMGeometryMBS(500,500)
dim col as GMColorMBS = GMColorMBS.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

GMImageMBS.extent(geo as GMGeometryMBS, 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 GMImageMBS(f)

// resize proportionally to fit
dim geo as new GMGeometryMBS(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

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

image.flip

Backdrop=image.CopyPicture

Feedback, Comments & Corrections

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.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.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 GMImageMBS(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

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(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.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

Previous items Next items

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




Links
MBS Xojo blog