Platforms to show: All Mac Windows Linux Cross-Platform
Back to GMImageMBS class.
GMImageMBS.setStrokeDashArray(values() as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Specify the pattern of dashes and gaps used to stroke paths. The strokeDashArray represents a zero-terminated array of numbers that specify the lengths of alternating dashes and gaps in pixels. If an odd number of values is provided, then the list of values is repeated to yield an even number of values. A typical strokeDashArray array might contain the members 5 3 2 0, where the zero value indicates the end of the pattern array.
GMImageMBS.shade(azimuth as Double=30.0, elevation as Double=30.0, colorShading as boolean=false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Specify azimuth and elevation as the position of the light source. By default, the shading results as a grayscale image.. Set colorShading to true to shade the red, green, and blue components of the image.
GMImageMBS.sharpen(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.sharpenChannel(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 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.shave(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.shear(xShearAngle as Double, yShearAngle as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Shearing slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x degrees is measured relative to the Y axis, and similarly, for Y direction shears y degrees is measured relative to the X axis. Empty triangles left over from shearing the image are filled with the color defined as borderColor.
GMImageMBS.signature(force as boolean=false) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Set force to true in order to re-calculate the signature regardless of whether the image data has been modified.
GMImageMBS.solarize(factor as Double=50.0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.spread(amount as UInt32=3)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.statistics as GMImageStatisticsMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Statistics are normalized to the range of 0.0 to 1.0 and are output to the specified ImageStatistics structure.
GMImageMBS.stegano(watermark as GMImageMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.stereo(rightImage as GMImageMBS)
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 | 13.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.strokeDashArray as Double()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Specify the pattern of dashes and gaps used to stroke paths. The strokeDashArray represents a zero-terminated array of numbers that specify the lengths of alternating dashes and gaps in pixels. If an odd number of values is provided, then the list of values is repeated to yield an even number of values. A typical strokeDashArray array might contain the members 5 3 2 0, where the zero value indicates the end of the pattern array.
GMImageMBS.swirl(degree as Double)
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 |
GMImageMBS.texture(texture as GMImageMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.threshold(degree as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The range of the threshold parameter is 0 to MaxRGB.
GMImageMBS.thumbnail(geometry as GMGeometryMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.transform(imageGeometry as GMGeometryMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Crop geometry is optional.
See also:
GMImageMBS.transform(imageGeometry as GMGeometryMBS, cropGeometry as GMGeometryMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Crop geometry is optional.
See also:
GMImageMBS.transformOrigin(tx as Double, ty as Double)
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 |
GMImageMBS.transformRotation(angle as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.transformScale(tx as Double, ty as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.transformSkewX(x as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.transformSkewY(y as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.transparent(color as GMColorMBS)
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 ColorFuzz property for how far the pixel value can differentiate.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.unsharpmask(radius as Double, sigma as Double, amount as Double, threshold as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
radius: the radius of the Gaussian, in pixels, not counting the center pixel.
sigma: the standard deviation of the Gaussian, in pixels.
amount: the percentage of the difference between the original and the blur image that is added back into the original.
threshold: the threshold in pixels needed to apply the diffence amount.
GMImageMBS.unsharpmaskChannel(channel as Integer, radius as Double, sigma as Double, amount as Double, threshold as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
channel: | image channel to modify. |
radius: | the radius of the Gaussian, in pixels, not counting the center pixel. |
sigma: | the standard deviation of the Gaussian, in pixels. |
amount: | the percentage of the difference between the original and the blur image that is added back into the original. |
threshold: | the threshold in pixels needed to apply the diffence amount. |
GMImageMBS.wave(amplitude as Double=25.0, wavelength as Double=150.0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
GMImageMBS.write(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.write(blob as GMBlobMBS, 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.write(blob as GMBlobMBS, magick as string, 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.write(file as folderitem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
GMImageMBS.write(Path 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.write(x as Integer, y as Integer, columns as Integer, rows as Integer, map as string, type as Integer, Pixels as Ptr)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
e.g. image.write( 0, 0, 640, 1, "RGB", 0, pixels )
See also:
GMImageMBS.zoom(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.ZPL(Header as boolean = true) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | GraphicsMagick | MBS GraphicsMagick Plugin | 20.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is for sending data to a receipt printer. The picture is taken as black & white image and we build the hex string, you can send to the printer.
Picture needs to have a width dividable by 8.
Set Header to false for skipping header and footer.
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.
