Platforms to show: All Mac Windows Linux Cross-Platform
Back to IMImageQ32MBS class.
IMImageQ32MBS.RadialBlur(angle 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 |
angle: The angle of the radial blur.
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageQ32MBS.RaiseImage(x as Integer, y as Integer, width as Integer, height as Integer, raise as boolean) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Width and height define the width of the vertical and horizontal edge of the effect.
raise: A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.
IMImageQ32MBS.RandomThresholdChannel(channel as Integer, thresholds 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 |
The result is a low-contrast, two color image.
channel: The channel or channels to be thresholded.
thresholds: a geometry string containing low,high thresholds. If the string contains 2x2, 3x3, or 4x4, an ordered dither of order 2, 3, or 4 is performed instead. (ASCII string)
Sets the last exception property.
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.ReduceNoise(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 |
The algorithm works by replacing each pixel with its neighbor closest in value. A neighbor is defined by radius. Use a radius of 0 and ReduceNoise selects a suitable radius for you.
For more details please check the ImageMagick documentation.
IMImageQ32MBS.RemoveDuplicateLayers
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Image size and virtual canvas offset must also match, though not the virtual canvas size itself.
No check is made with regards to image disposal setting, though it is the dispose setting of later image that is kept. Also any time delays are also added together. As such coalesced image animations should still produce the same result, though with duplicte frames merged into a single frame.
IMImageQ32MBS.RemoveFirstImageFromList as IMImageQ32MBS
| 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.
For more details please check the ImageMagick documentation.
IMImageQ32MBS.RemoveImageProfile(name as string) as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IMImageQ32MBS.RemoveZeroDelayLayers
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Such images generally represent intermediate or partial updates in GIF animations used for file optimization. They are not ment to be displayed to users of the animation. Viewable images in an animation should have a time delay of 3 or more centi-seconds (hundredths of a second).
However if all the frames have a zero time delay, then either the animation is as yet incomplete, or it is not a GIF animation. This is a non-sensible situation, so no image will be removed and a 'Zero Time Animation' warning (exception) given.
No warning will be given if no image was removed because all images had an appropriate non-zero time delay set.
Due to the special requirements of GIF disposal handling, GIF animations should be coalesced first, before calling this function, though that is not a requirement.
IMImageQ32MBS.ResetImageAttributeIterator
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 6.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Use it in conjunction with GetNextImageAttribute() to iterate over all the values associated with an image.
IMImageQ32MBS.ResetImageProfileIterator
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Use it in conjunction with GetNextImageProfile() to iterate over all the profiles associated with an image.
IMImageQ32MBS.RGBTransformImage(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 which colorspace to transform the image.
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 |
IMImageQ32MBS.Roll(x as Integer, y 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.Rotate(degrees 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 |
Method RotateImage creates a new image that is a rotated copy of an existing one. Positive angles rotate counter-clockwise (right-hand rule), while negative angles rotate clockwise. Rotated images are usually larger than the originals and have 'empty' triangular corners. X axis. Empty triangles left over from shearing the image are filled with the color specified by the image background_color. RotateImage allocates the memory necessary for the new Image structure and returns a pointer to the new image.
Method RotateImage is based on the paper ''A Fast Algorithm for General Raster Rotatation'' by Alan W. Paeth. RotateImage is adapted from a similar method based on the Paeth paper written by Michael Halle of the Spatial Imaging Group, MIT Media Lab.
degrees: Specifies the number of degrees to rotate the image.
Sets the lastexception property.
Returns nil on low memory.
For more details please check the ImageMagick documentation.
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.