Platforms to show: All Mac Windows Linux Cross-Platform
Back to GMImageMBS class.
GMImageMBS.normalizedMeanError as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This parameter is only valid if verbose is set to true and the image has just been quantized.
(Read only property)
GMImageMBS.orientation as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
GMImageMBS.page as GMGeometryMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Use this option to specify the dimensions and position of the Postscript page in dots per inch or a TEXT page in pixels. This option is typically used in concert with density .
Page may also be used to position a GIF image (such as for a scene in an animation).
(Read and Write property)
GMImageMBS.penColor 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 property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
GMImageMBS.quantizeColors 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 property)
GMImageMBS.quantizeColorSpace as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Empirical evidence suggests that distances in color spaces such as YUV or YIQ correspond to perceptual color differences more closely than do distances in RGB space. These color spaces may give better results when color reducing an image.
(Read and Write property)
GMImageMBS.quantizeDither as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The basic strategy of dithering is to trade intensity resolution for spatial resolution by averaging the intensities of several neighboring pixels. Images which suffer from severe contouring when reducing colors can be improved with this option. The quantizeColors or monochrome option must be set for this option to take effect.
(Read and Write property)
GMImageMBS.quantizeTreeDepth as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Values of 0 or 1 allow selection of the optimal tree depth for the color reduction algorithm. Values between 2 and 8 may be used to manually adjust the tree depth.
(Read and Write property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 19.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Error messages are still reported.
(Read and Write property)
GMImageMBS.renderingIntent as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
GMImageMBS.resolutionUnits as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
GMImageMBS.textEncoding as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
GMImageMBS.totalColors as UInt32
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read only property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can set this value to convert the image to the type.
Convert the image representation to the specified type or retrieve the current image type. If the image is reduced to an inferior type, then image information may be lost (e.g. color changed to grayscale).
Available enumerations for the type parameter:
| BilevelType | 1 | black/white |
| GrayscaleType | 2 | grayscale |
| GrayscaleMatteType | 3 | grayscale with alpha (opacity) channel |
| PaletteType | 4 | colormapped |
| PaletteMatteType | 5 | colormapped with transparency |
| TrueColorType | 6 | true (full) color |
| TrueColorMatteType | 7 | true (full) color with alpha (opacity) channel |
| ColorSeparationType | 8 | Cyan, magenta, yellow, and black |
| ColorSeparationMatteType | 9 | Cyan, magenta, yellow, and black with alpha (opacity) channel |
| OptimizeType | 10 | Optimize the image type to best represent the existing pixels |
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is a convenience function for you which calls size.width.
(Read only property)
GMImageMBS.x11Display as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
GMImageMBS.XResolution as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also density functions.
Settable with version 19.0.
(Read and Write property)
GMImageMBS.YResolution as Double
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | GraphicsMagick | MBS GraphicsMagick Plugin | 9.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Settable with version 19.0.
(Read and Write property)
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.