Platforms to show: All Mac Windows Linux Cross-Platform

Back to IMImageQ32MBS class.

Previous items

IMImageQ32MBS.Splice(x as Integer, y as Integer, width as Integer, height as Integer) as IMImageQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 6.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Splice splices a solid color into the image as defined by the geometry.

Returns nil on any error.
Sets the last exception property.

IMImageQ32MBS.Spread(radius as Double) as IMImageQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This is a special effects method that randomly displaces each pixel in a block defined by the radius parameter.

radius: Choose a random pixel in a neighborhood of this extent.
Sets the last exception property.

For more details please check the ImageMagick documentation.

IMImageQ32MBS.Stegano(watermarkImage as IMImageQ32MBS) as IMImageQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 5.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Method SteganoImage hides a digital watermark within the image.

Returns nil on any error.
Sets the last exception property.

IMImageQ32MBS.Stereo(otherImage as IMImageQ32MBS) as IMImageQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 5.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Method StereoImage combines two images and produces a single image that is the composite of a left and right image of a stereo pair.

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.

IMImageQ32MBS.Swirl(degrees as Double) as IMImageQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 5.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Method SwirlImage creates a new image that is a copy of an existing one with the image pixels "swirl" at a specified angle.

degrees: An double value that defines the tightness of the swirling.

Returns nil on any error.
Sets the last exception property.

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

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.

IMImageQ32MBS.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
TransformImages() calls TransformImage() on each image of a sequence.

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.

IMImageQ32MBS.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
Method TransformRGBImage converts the reference image from an alternate colorspace.

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:
UndefinedColorspace0
RGBColorspace1
GRAYColorspace2
TransparentColorspace3
OHTAColorspace4
LABColorspace5
XYZColorspace6
YCbCrColorspace7
YCCColorspace8
YIQColorspace9
YPbPrColorspace10
YUVColorspace11
CMYKColorspace12
sRGBColorspace13
HSBColorspace14
HSLColorspace15
HWBColorspace16

IMImageQ32MBS.TransposeImage as IMImageQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
TransposeImage() creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them by 90 degrees.

IMImageQ32MBS.TransverseImage as IMImageQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
TransverseImage() creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them by 270 degrees.

IMImageQ32MBS.Trim as IMImageQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 6.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Trim trims pixels from the image edges.

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.

IMImageQ32MBS.UnsharpMaskChannel(channel as Integer, radius as Double, sigma as Double, amount as Double, threshold as Double) as IMImageQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sharpens one or more image channels.

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.

IMImageQ32MBS.Wave(amplitude as Double, wavelength as Double) as IMImageQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 5.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Method Wave creates a new image that is a copy of an existing one with the image pixels altered along a sine wave.

Parameters are double values that indicates the amplitude and wavelength of the sine wave.
Returns nil on any error.
Sets the last exception property.

IMImageQ32MBS.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
WhiteThreshold is like Threshold but forces all pixels above the threshold into white while leaving all pixels below the threshold unchanged.

No exceptions are generated.
threshold: Define the threshold value. (ASCII string)
For more details please check the ImageMagick documentation.

IMImageQ32MBS.WriteImage(info as IMImageInfoQ32MBS) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Method WriteImage writes an image to a file as defined by image.filename.

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.

Previous items

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


The biggest plugin in space...