Platforms to show: All Mac Windows Linux Cross-Platform
Back to IMImageQ32MBS class.
IMImageQ32MBS.SetImageAttribute(key as string, value 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 |
If it is not found in the list, the attribute name and value is added to the list. If the attribute exists in the list, the value is concatenated to the attribute. SetImageAttribute returns True if the attribute is successfully concatenated or added to the list, otherwise False. If the value is "", the matching key is deleted from the list.
IMImageQ32MBS.SetImageColorspace(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 |
Returns false on any error and true on success.
IMImageQ32MBS.SetImageProfile(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 a profile with the same name already exists, it is replaced. This method differs from the ProfileImage() method in that it does not apply CMS color profiles.
name: The profile name.
profiledata: The binary data of the profile.
Returns false on any error and true on success.
IMImageQ32MBS.SetPicture(pic as picture, x as Integer, y as Integer)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Sets the last exception property.
The method will do nothing on bad bounds.
This method works only for bitmap images.
x and y are zero based.
IMImageQ32MBS.SetPictureMask(maskpic as picture, x as Integer, y as Integer)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Sets the last exception property.
The method will do nothing on bad bounds.
This method works only for bitmap images.
x and y are zero based.
You may need to set matte=True after this.
IMImageQ32MBS.SetPixel(x as Integer, y as Integer, newPixel as IMColorQ32MBS)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The method will fail silently if the values are out of bounds or the image is not a bitmap image.
This method works only for bitmap images.
x and y are zero based.
IMImageQ32MBS.Shade(gray as boolean, azimuth as Double, elevation 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 |
You control the positioning of the light with azimuth and elevation; azimuth is measured in degrees off the x axis and elevation is measured in pixels above the Z axis.
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageQ32MBS.SharpenChannel(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, radius should be larger than sigma. Use a radius of 0 and Sharpen selects a suitable radius for you.
channel: The channel type.
radius: The radius of the Gaussian, in pixels, not counting the center pixel.
sigma: The standard deviation of the Laplacian, 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 |
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageQ32MBS.Shave(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 |
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.Shear(Xshear as Double, Yshear 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 |
Shearing slides one edge of an image along the X or Y axis, creating a parallelogram. An X direction shear slides an edge along the X axis, while a Y direction shear slides an edge along the Y axis. The amount of the shear is controlled by a shear angle. For X direction shears, x_shear is measured relative to the Y axis, and similarly, for Y direction shears y_shear is measured relative to the X axis. Empty triangles left over from shearing the image are filled with the color defined by the pixel at location (0,0). ShearImage allocates the memory necessary for the new Image structure and returns a pointer to the new image.
Xshear and YYshear specify the number of degrees to shear the image.
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageQ32MBS.Solarize(factor as Double) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Image Magick | MBS GraphicsMagick Plugin | 5.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
factor: An double value that defines the extent of the solarization.
Returns nil on any error.
Sets the last exception property.
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 |
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 |
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 |
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 |
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 |
degrees: An double value that defines the tightness of the swirling.
Returns nil on any error.
Sets the last exception property.
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.