Platforms to show: All Mac Windows Linux Cross-Platform
Back to IMImageQ32MBS class.
IMImageQ32MBS.CopyPixel(x as Integer, y as Integer) as IMColorQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
This method works only for bitmap images.
x and y are zero based.
IMImageQ32MBS.CreateHBITMAP as Ptr
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 15.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
The HBITMAP returned needs to be freed when you are done with it or you risk having a memory leak.
IMImageQ32MBS.Crop(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 |
Returns nil on any error.
Sets the last exception property.
IMImageQ32MBS.CropImageToTiles(CropGeometry as string) as IMImageQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This may include a single sub-region of the image. This basically applies all the normal geometry flags for Crop.
IMImageQ32MBS.CycleColormap(displace 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 |
If you cycle the colormap a number of times you can produce a psychodelic effect.
Returns true on success.
displace: displace the colormap this amount.
IMImageQ32MBS.DecipherImage(passkey 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 |
Passkey: decipher cipher pixels with this passphrase.
Returns true on success.
IMImageQ32MBS.DeconstructImages as IMImageQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
Sets the last exception property.
IMImageQ32MBS.DeleteImageAttribute(key as string) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns false on any error.
IMImageQ32MBS.Despeckle() as IMImageQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Sets the last exception property.
For more details please check the ImageMagick documentation.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For more details please check the ImageMagick documentation.
The destructor will call this for you if release=true.
IMImageQ32MBS.DestroyImageAttributes
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IMImageQ32MBS.DestroyImageList
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For more details please check the ImageMagick documentation.
The destructor will call this for you if release=true.
IMImageQ32MBS.DestroyImageProfiles
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IMImageQ32MBS.DistortImage(DistortImageMethod as Integer, values() as Double, bestfit as boolean) as IMImageQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping.
If the '-verbose' control option has been set print to standard error the equicelent '-fx' formula with coefficients for the function, if practical.
A description of each parameter follows:
self: the image to be distorted.
m: the method of image distortion. ArcDistortion always ignores source image offset, and always 'bestfit' the destination image with the top left corner offset relative to the polar mapping center. Affine, Perspective, and Bilinear, do least squares fitting of the distrotion when more than the minimum number of control point pairs are provided. Perspective, and Bilinear, fall back to a Affine distortion when less than 4 control point pairs are provided. While Affine distortions let you use any number of control point pairs, that is Zero pairs is a No-Op (viewport only) distortion, one pair is a translation and two pairs of control points do a scale-rotate-translate, without any shearing.
values: arguments given.
bestfit: Attempt to 'bestfit' the size of the resulting image. This also forces the resulting image to be a 'layered' virtual canvas image. Can be overridden using 'distort:viewport' setting.
Extra Controls from Image meta-data (artifacts)...
- "verbose" Output to stderr alternatives, internal coefficents, and FX equivalents for the distortion operation (if feasible). This forms an extra check of the distortion method, and allows users access to the internal constants IM calculates for the distortion.
- "distort:viewport" Directly set the output image canvas area and offest to use for the resulting image, rather than use the original images canvas, or a calculated 'bestfit' canvas.
- "distort:scale" Scale the size of the output canvas by this amount to provide a method of Zooming, and for super-sampling the results.
Other settings that can effect results include
- 'interpolate' For source image lookups (scale enlargements)
- 'filter' Set filter to use for area-resampling (scale shrinking). Set to 'point' to turn off and use 'interpolate' lookup instead
See also:
IMImageQ32MBS.DistortImage(DistortImageMethod as Integer, values() as Double, bestfit as boolean) as IMImageQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If 'bestfit' is enabled, and distortion allows it, the destination image is adjusted to ensure the whole source 'image' will just fit within the final destination image, which will be sized and offset accordingly. Also in many cases the virtual offset of the source image will be taken into account in the mapping.
If the '-verbose' control option has been set print to standard error the equicelent '-fx' formula with coefficients for the function, if practical.
A description of each parameter follows:
self: the image to be distorted.
m: the method of image distortion. ArcDistortion always ignores source image offset, and always 'bestfit' the destination image with the top left corner offset relative to the polar mapping center. Affine, Perspective, and Bilinear, do least squares fitting of the distrotion when more than the minimum number of control point pairs are provided. Perspective, and Bilinear, fall back to a Affine distortion when less than 4 control point pairs are provided. While Affine distortions let you use any number of control point pairs, that is Zero pairs is a No-Op (viewport only) distortion, one pair is a translation and two pairs of control points do a scale-rotate-translate, without any shearing.
values: arguments given.
bestfit: Attempt to 'bestfit' the size of the resulting image. This also forces the resulting image to be a 'layered' virtual canvas image. Can be overridden using 'distort:viewport' setting.
Extra Controls from Image meta-data (artifacts)...
- "verbose" Output to stderr alternatives, internal coefficents, and FX equivalents for the distortion operation (if feasible). This forms an extra check of the distortion method, and allows users access to the internal constants IM calculates for the distortion.
- "distort:viewport" Directly set the output image canvas area and offest to use for the resulting image, rather than use the original images canvas, or a calculated 'bestfit' canvas.
- "distort:scale" Scale the size of the output canvas by this amount to provide a method of Zooming, and for super-sampling the results.
Other settings that can effect results include
- 'interpolate' For source image lookups (scale enlargements)
- 'filter' Set filter to use for area-resampling (scale shrinking). Set to 'point' to turn off and use 'interpolate' lookup instead
See also:
IMImageQ32MBS.Edge(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 |
Radius defines the radius of the convolution filter. Use a radius of 0 and Edge selects a suitable radius for you.
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageQ32MBS.Emboss(radius as Double, sigma 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 |
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 Emboss selects a suitable radius for you.
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageQ32MBS.EncipherImage(passkey 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 |
passkey: encipher pixels with this passphrase.
Returns true on success.
IMImageQ32MBS.EqualizeImage as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true on success or false on failure.
ChannelType: The channels to use.
IMImageQ32MBS.EqualizeImageChannel(ChannelType as Integer) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 15.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true on success or false on failure.
ChannelType: The channels to use.
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 |
IMImageQ32MBS.ExcerptImage(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 | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Define the region of the image to extend with x, y, width, and height.
IMImageQ32MBS.ExtentImage(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 | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Define the region of the image to extend with x, y, width, and height.
Set the (x,y) offset of the geometry to move the original image relative to the extended image.
IMImageQ32MBS.FlattenImages as IMImageQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
Sets the last exception property.
IMImageQ32MBS.Flip as IMImageQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
Sets the last exception property.
IMImageQ32MBS.Flop as IMImageQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
Sets the last exception property.
IMImageQ32MBS.FrameImage(x as Integer, y as Integer, width as Integer, height as Integer, innerBevel as Integer, OuterBevel as Integer) as IMImageQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The color of the border is defined by the MatteColor of image. Width and height specify the border width of the vertical and horizontal sides of the frame. innerBevel and OuterBevel indicate the width of the inner and outer shadows of the frame.
IMImageQ32MBS.FxImage(expression as string) as IMImageQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Can raise an exception.
IMImageQ32MBS.GaussianBlurChannel(channel as Integer, radius as Double, sigma 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 |
We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma) . For reasonable results, the radius should be larger than sigma. Use a radius of 0 and GaussianBlur selects a suitable radius for you.
Sets the last exception property.
radius: the radius of the Gaussian, in pixels, not counting the center pixel.
channel: The channel type.
sigma: the standard deviation of the Gaussian, in pixels.
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 |
For more details please check the ImageMagick documentation.
IMImageQ32MBS.GetImageAttribute(key as string) as IMImageAttributeQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IMImageQ32MBS.GetImageClippingPathAttribute as IMImageAttributeQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IMImageQ32MBS.GetImageProfile(name as string) as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns "" on any error.
IMImageQ32MBS.GetNextImageAttribute as IMImageAttributeQ32MBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
IMImageQ32MBS.GetNextImageProfile as string
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns "" on any error.
IMImageQ32MBS.HandleMemory as memoryblock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
IMImageQ32MBS.ImagesToBlob(info as IMImageInfoQ32MBS) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
It returns the image sequence as a string. The magick member of the ImageInfo structure determines the format of the returned blob ( GIF, JPEG, PNG, etc. )
Note, some image formats do not permit multiple images to the same image stream (e.g. JPEG). in this instance, just the first image of the sequence is returned as a blob.
Sets the last exception property and returns "" on any error.
For more details please check the ImageMagick documentation.
IMImageQ32MBS.ImageToBlob(info as IMImageInfoQ32MBS) as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
It returns the image sequence as a string. The magick member of the ImageInfo structure determines the format of the returned blob ( GIF, JPEG, PNG, etc. )
Note, some image formats do not permit multiple images to the same image stream (e.g. JPEG). in this instance, just the first image of the sequence is returned as a blob.
Sets the last exception property and returns "" on any error.
For more details please check the ImageMagick documentation.
IMImageQ32MBS.Implode(factor 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 |
factor: A double value that defines the extent of the implosion.
Returns nil on any error.
Sets the last exception property.
IMImageQ32MBS.IsBlobExempt as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For more details please check the ImageMagick documentation.
IMImageQ32MBS.IsBlobSeekable as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For more details please check the ImageMagick documentation.
IMImageQ32MBS.IsBlobTemporary as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Image Magick | MBS GraphicsMagick Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For more details please check the ImageMagick documentation.
IMImageQ32MBS.MedianFilter(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 |
Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.
Sets the last exception property.
For more details please check the ImageMagick documentation.
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.