Platforms to show: All Mac Windows Linux Cross-Platform
Back to IMImageQ8MBS class.
IMImageQ8MBS.GaussianBlurChannel(channel as Integer, radius as Double, sigma 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, 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.
IMImageQ8MBS.GetImageAttribute(key as string) as IMImageAttributeQ8MBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IMImageQ8MBS.GetImageClippingPathAttribute as IMImageAttributeQ8MBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IMImageQ8MBS.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.
IMImageQ8MBS.GetNextImageAttribute as IMImageAttributeQ8MBS
| 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.
IMImageQ8MBS.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.
IMImageQ8MBS.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.
IMImageQ8MBS.ImagesToBlob(info as IMImageInfoQ8MBS) 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.
IMImageQ8MBS.ImageToBlob(info as IMImageInfoQ8MBS) 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.
IMImageQ8MBS.Implode(factor 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 |
factor: A double value that defines the extent of the implosion.
Returns nil on any error.
Sets the last exception property.
IMImageQ8MBS.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.
IMImageQ8MBS.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.
IMImageQ8MBS.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.
IMImageQ8MBS.MedianFilter(radius 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 |
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.
IMImageQ8MBS.MergeImageLayers(ImageLayerMethod as Integer) as IMImageQ8MBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The inital canvas's size depends on the given ImageLayerMethod, and is initialized using the first images images background color. The images are then compositied onto that image in sequence using the given composition that has been assigned to each individual image.
ImageLayerMethod:
the method of selecting the size of the initial canvas.
MergeLayer: Merge all layers onto a canvas just large enough to hold all the actual images. The virtual canvas of the first image is preserved but otherwise ignored.
FlattenLayer: Use the virtual canvas size of first image. Images which fall outside this canvas is clipped. This can be used to 'fill out' a given virtual canvas.
MosaicLayer: Start with the virtual canvas of the first image, enlarging left and right edges to contain all images. Images with negative offsets will be clipped.
Can raise an exception.
IMImageQ8MBS.MosaicImages 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 returns a single image with each image in the sequence composited at the location defined by the page member of the image structure.
Returns nil on any error.
Sets the last exception property.
IMImageQ8MBS.MotionBlur(radius as Double, sigma as Double, angle 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 MotionBlur selects a suitable radius for you. Angle gives the angle of the blurring motion.
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageQ8MBS.NegateImage(gray as boolean = false) 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.
The grayscale option means that only grayscale values within the image are negated.
gray: If true, only negate grayscale pixels within the image.
IMImageQ8MBS.NegateImageChannel(ChannelType as Integer, gray as boolean = false) 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.
The grayscale option means that only grayscale values within the image are negated.
ChannelType: The channels to use.
gray: If true, only negate grayscale pixels within the image.
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 |
IMImageQ8MBS.NewImage(info as IMImageInfoQ8MBS, width as Integer, height as Integer, background as IMMagickPixelPacketQ8MBS) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns false on failure and true on success.
IMImageQ8MBS.NormalizeImage 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.
IMImageQ8MBS.NormalizeImageChannel(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 auto-level. If the special 'SyncChannels' flag is set the min/max/mean value of all given channels is used for all given channels, to all channels in the same way.
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 |
IMImageQ8MBS.OilPaint(radius 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 |
radius parameter: radius of the circular neighborhood.
Returns nil on any error.
Sets the last exception property.
IMImageQ8MBS.OptimizeImageLayers as IMImageQ8MBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
From this it attempts to select the smallest cropped image to replace each frame, while preserving the results of the GIF animation.
Can raise an exception.
IMImageQ8MBS.OptimizeImageTransparency
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Any pixel that does not change the disposal image (and thus does not effect the outcome of an overlay) is made transparent.
WARNING: This modifies the current images directly, rather than generate a new image sequence.
Can raise an exception.
IMImageQ8MBS.OptimizePlusImageLayers as IMImageQ8MBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 8.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Can raise an exception.
IMImageQ8MBS.ProfileImage(name as string, ProfileData as string) 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 the ProfileData is "", it is removed from the image otherwise added. Use a name of '*' and a ProfileData of "" to remove all profiles from the image.
Returns false on any error and true on success.
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.
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.