Platforms to show: All Mac Windows Linux Cross-Platform
Back to IMImageQ8MBS class.
IMImageQ8MBS.Stegano(watermarkImage as IMImageQ8MBS) as IMImageQ8MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
Sets the last exception property.
IMImageQ8MBS.Stereo(otherImage as IMImageQ8MBS) as IMImageQ8MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The left image is converted to gray scale and written to the red channel of the stereo image. The right image is converted to gray scale and written to the blue channel of the stereo image. View the composite image with red-blue glasses to create a stereo effect.
left image = self
right image = otherImage parameter
Returns nil on any error.
Sets the last exception property.
IMImageQ8MBS.Swirl(degrees as Double) as IMImageQ8MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
degrees: An double value that defines the tightness of the swirling.
Returns nil on any error.
Sets the last exception property.
IMImageQ8MBS.TransformImage(CropGeometry as string, ImageGeometry as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This should only be used for single images.
CropGeometry: A crop geometry string. This geometry defines a subregion of the image to crop.
ImageGeometry: An image geometry string. This geometry defines the final size of the image.
Returns true on success.
IMImageQ8MBS.TransformImages(CropGeometry as string, ImageGeometry as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
TransformImage() is a convenience method that behaves like ResizeImage() or CropImage() but accepts scaling and/or cropping information as a region geometry specification. If the operation fails, the original image handle is left as is.
CropGeometry: A crop geometry string. This geometry defines a subregion of the image to crop.
ImageGeometry: An image geometry string. This geometry defines the final size of the image.
Returns true on success.
IMImageQ8MBS.TransformRGBImage(Colorspace as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The transformation matrices are not the standard ones: the weights are rescaled to normalized the range of the transformed values to be [0..MaxRGB].
colorspace: An integer value that indicates the colorspace the image is currently in. On return the image is in the RGB color space.
Returns false on any error and true on success.
constants:
UndefinedColorspace | 0 |
RGBColorspace | 1 |
GRAYColorspace | 2 |
TransparentColorspace | 3 |
OHTAColorspace | 4 |
LABColorspace | 5 |
XYZColorspace | 6 |
YCbCrColorspace | 7 |
YCCColorspace | 8 |
YIQColorspace | 9 |
YPbPrColorspace | 10 |
YUVColorspace | 11 |
CMYKColorspace | 12 |
sRGBColorspace | 13 |
HSBColorspace | 14 |
HSLColorspace | 15 |
HWBColorspace | 16 |
IMImageQ8MBS.TransposeImage as IMImageQ8MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IMImageQ8MBS.TransverseImage as IMImageQ8MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IMImageQ8MBS.Trim as IMImageQ8MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
It allocates the memory necessary for the new Image structure and returns a pointer to the new image.
Returns nil on any error.
Sets the last exception property.
IMImageQ8MBS.UnsharpMaskChannel(channel as Integer, radius as Double, sigma as Double, amount as Double, threshold as Double) as IMImageQ8MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and UnsharpMask selects a suitable radius for you.
Constants for channel:
const UndefinedChannel | = 0 |
const RedChannel | = &h0001 |
const GrayChannel | = &h0001 |
const CyanChannel | = &h0001 |
const GreenChannel | = &h0002 |
const MagentaChannel | = &h0002 |
const BlueChannel | = &h0004 |
const YellowChannel | = &h0004 |
const AlphaChannel | = &h0008 |
const OpacityChannel | = &h0008 |
const BlackChannel | = &h0020 |
const IndexChannel | = &h0020 |
const AllChannels | = &h7fffffff |
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageQ8MBS.Wave(amplitude as Double, wavelength as Double) as IMImageQ8MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Parameters are double values that indicates the amplitude and wavelength of the sine wave.
Returns nil on any error.
Sets the last exception property.
IMImageQ8MBS.WhiteThreshold(threshold as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
No exceptions are generated.
threshold: Define the threshold value. (ASCII string)
For more details please check the ImageMagick documentation.
IMImageQ8MBS.WriteImage(info as IMImageInfoQ8MBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
You can specify a particular image format by prefixing the file with the image type and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). The image may be modified to adapt it to the requirements of the image format. For example, DirectClass images must be color-reduced to PseudoClass if the format is GIF.
WriteImage returns True if the image is written. False is returned if there is a memory shortage or if the image file fails to write.
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.