Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to GMImageMBS class.
GMImageMBS.adaptiveThreshold(width as UInt32, height as UInt32, offset as double = 0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
see:
http://www.dai.ed.ac.uk/HIPR2/adpthrsh.htm
Adaptive thresholding is useful if the ideal threshold level is not known in advance, or if the illumination gradient is not constant across the image. Adaptive thresholding works by evaulating the mean (average) of a pixel region (size specified by width and height) and using the mean as the thresholding value. In order to remove residual noise from the background, the threshold may be adjusted by subtracting a constant offset (default zero) from the mean to compute the threshold.
GMImageMBS.addNoise(noise as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Use one of this constants: GaussianNoise, ImpulseNoise, LaplacianNoise, MultiplicativeGaussianNoise, PoissonNoise, UniformNoise.
GMImageMBS.addNoiseChannel(channel as Integer, noise as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The noiseType parameter specifies the type of noise.
Use one of this constants: GaussianNoise, ImpulseNoise, LaplacianNoise, MultiplicativeGaussianNoise, PoissonNoise, UniformNoise.
GMImageMBS.affineTransform(sx as Double, sy as Double, rx as Double, ry as Double, tx as Double, ty as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 10.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Specify a transformation matrix to adjust scaling, rotation, and translation (coordinate transformation) for subsequently drawn objects in the same or decendent drawing context. The sx & sy parameters represent the x & y scale factors, the rx & ry parameters represent the x & y rotation, and the tx & ty parameters represent the x & y translation.
GMImageMBS.annotate(text as string, boundingArea as GMGeometryMBS, gravity as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Annotate image (draw text on image)
Gravity effects text placement in bounding area according to these rules:
NorthWestGravity | text bottom-left corner placed at top-left |
NorthGravity | text bottom-center placed at top-center |
NorthEastGravity | text bottom-right corner placed at top-right |
WestGravity | text left-center placed at left-center |
CenterGravity | text center placed at center |
EastGravity | text right-center placed at right-center |
SouthWestGravity | text top-left placed at bottom-left |
SouthGravity | text top-center placed at bottom-center |
SouthEastGravity | text top-right placed at bottom-right |
See also:
GMImageMBS.annotate(text as string, boundingArea as GMGeometryMBS, gravity as Integer, degrees as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Annotate image (draw text on image)
Gravity effects text placement in bounding area according to these rules:
NorthWestGravity | text bottom-left corner placed at top-left |
NorthGravity | text bottom-center placed at top-center |
NorthEastGravity | text bottom-right corner placed at top-right |
WestGravity | text left-center placed at left-center |
CenterGravity | text center placed at center |
EastGravity | text right-center placed at right-center |
SouthWestGravity | text top-left placed at bottom-left |
SouthGravity | text top-center placed at bottom-center |
SouthEastGravity | text top-right placed at bottom-right |
See also:
GMImageMBS.annotate(text as string, gravity as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Annotate image (draw text on image)
Gravity effects text placement in bounding area according to these rules:
NorthWestGravity | text bottom-left corner placed at top-left |
NorthGravity | text bottom-center placed at top-center |
NorthEastGravity | text bottom-right corner placed at top-right |
WestGravity | text left-center placed at left-center |
CenterGravity | text center placed at center |
EastGravity | text right-center placed at right-center |
SouthWestGravity | text top-left placed at bottom-left |
SouthGravity | text top-center placed at bottom-center |
SouthEastGravity | text top-right placed at bottom-right |
See also:
GMImageMBS.annotate(text as string, location as GMGeometryMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Annotate image (draw text on image)
Gravity effects text placement in bounding area according to these rules:
NorthWestGravity | text bottom-left corner placed at top-left |
NorthGravity | text bottom-center placed at top-center |
NorthEastGravity | text bottom-right corner placed at top-right |
WestGravity | text left-center placed at left-center |
CenterGravity | text center placed at center |
EastGravity | text right-center placed at right-center |
SouthWestGravity | text top-left placed at bottom-left |
SouthGravity | text top-center placed at bottom-center |
SouthEastGravity | text top-right placed at bottom-right |
See also:
GMImageMBS.attributeValue(name as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Any number of named attributes may be attached to the image. For example, the image comment is a named image attribute with the name "comment". EXIF tags are attached to the image as named attributes. Use the syntax "EXIF:<tag>" to request an EXIF tag similar to "EXIF:DateTime":
(Read and Write computed property)
GMImageMBS.attributeValues as dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 17.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
As attributes are created on demand, this will only return all so far generated attributes.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 19.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This allows the image to be viewed correctly when the orientation attribute is not available, or is not respected.
GMImageMBS.blur(radius as Double=0.0, sigma as Double=1.0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
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.
GMImageMBS.blurChannel(channel as Integer, radius as Double=0.0, sigma as Double=1.0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The channel parameter specifies the channel to modify. 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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The color of the border is specified by the borderColor attribute.
See also:
GMImageMBS.border(geometry as GMGeometryMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The color of the border is specified by the borderColor attribute.
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Bake in the ASC-CDL, which is a convention for the for the exchange of basic primary color grading information between for the exchange of basic primary color grading information between equipment and software from different manufacturers. It is a useful transform for other purposes as well.
GMImageMBS.channel(channel as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Use this option to extract a particular channel from the image. MatteChannel for example, is useful for extracting the opacity values from an image.
GMImageMBS.channelDepth(channel as Integer) as UInt32
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write computed property)
GMImageMBS.charcoal(radius as Double=0.0, sigma as Double=1.0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
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.
GMImageMBS.chop(geometry as GMGeometryMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.colorHistogram as dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The dictionary has a GMColorMBS/GMColor16MBS object as key for each color and an unsigned integer as value.
GMImageMBS.colorize(opacity as UInt32, penColor as GMColorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
GMImageMBS.colorize(opacityRed as UInt32, opacityGreen as UInt32, opacityBlue as UInt32, penColor as GMColorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
GMImageMBS.colorMap as GMColorMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 19.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
GMImageMBS.colorMap(index as UInt32) as GMColorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write computed property)
See also:
GMImageMBS.colorMatrix(order as Integer, ColorMatrix() as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The user supplied matrix may be of order 1 to 5 (1x1 through 5x5).
GMImageMBS.CombinePictureWithMask as picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 10.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Internally this calls Width and Height, CopyPicture and CopyMask.
GMImageMBS.compare(image as GMImageMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Sets meanErrorPerPixel, normalizedMaxError, and normalizedMeanError in the current image. False is returned if the images are identical. An ErrorOption exception is thrown if the reference image columns, rows, colorspace, or matte differ from the current image:
GMImageMBS.composite(compositeImage as GMImageMBS, gravity as Integer, CompositeOperator as Integer = 2)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.compositeAt(compositeImage as GMImageMBS, offset as GMGeometryMBS, CompositeOperator as Integer = 2)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.compositeXY(compositeImage as GMImageMBS, xOffset as Integer, yOffset as Integer, CompositeOperator as Integer = 2)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
GMImageMBS.Constructor(blob as GMBlobMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
GMImageMBS.Constructor(blob as GMBlobMBS, geometry as GMGeometryMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
GMImageMBS.Constructor(blob as GMBlobMBS, geometry as GMGeometryMBS, depth as UInt32)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
GMImageMBS.Constructor(blob as GMBlobMBS, geometry as GMGeometryMBS, depth as UInt32, Magick as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
GMImageMBS.Constructor(blob as GMBlobMBS, geometry as GMGeometryMBS, Magick as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.