Platforms to show: All Mac Windows Linux Cross-Platform

Back to IMImage7MBS class.

Previous items

IMImage7MBS.ShearRotate(degrees as double) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
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 background color defined by member 'background_color' of the image. ShearRotateImage allocates the memory necessary for the new Image structure and returns a pointer to the new image.

degrees: Specifies the number of degrees to rotate the image.

See ShearRotateImage function in ImageMagick documentation.

IMImage7MBS.SigmoidalContrast(sharpen as boolean, contrast as Double, midpoint as Double) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
adjusts the contrast of an image with a non-linear sigmoidal contrast algorithm.

Increase the contrast of the image using a sigmoidal transfer function without saturating highlights or shadows. Contrast indicates how much to increase the contrast (0 is none; 3 is typical; 20 is pushing it); mid-point indicates where midtones fall in the resultant image (0 is white; 50 is middle-gray; 100 is black). Set sharpen to MagickTrue to increase the image contrast otherwise the contrast is reduced.

sharpen: Increase or decrease image contrast.
contrast: strength of the contrast, the larger the number the more 'threshold-like' it becomes.
midpoint: midpoint of the function as a color value 0 to QuantumRange.

See SigmoidalContrastImage function in ImageMagick documentation.

IMImage7MBS.Solarize(threshold as double) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Applies a special effect to the image, similar to the effect achieved in a photo darkroom by selectively exposing areas of photo sensitive paper to light.

Threshold ranges from 0 to QuantumRange and is a measure of the extent of the solarization.

threshold: Define the extent of the solarization.

See SolarizeImage function in ImageMagick documentation.

IMImage7MBS.SortColormapByIntensity as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
sorts the colormap of a PseudoClass image by decreasing color intensity.

See SortColormapByIntensity function in ImageMagick documentation.

IMImage7MBS.SparseColor(SparseColorMethod as Integer, arguments() as double) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Given a set of coordinates, interpolates the colors found at those coordinates, across the whole image, using various methods.

method: the method to fill in the gradient between the control points.
The methods used for SparseColor() are often simular to methods used for DistortImage(), and even share the same code for determination of the function coefficents, though with more dimensions (or resulting values).
values: array of floating point arguments for this method-- x,y,color_values-- with color_values given as normalized values.

See SparseColorImage function in ImageMagick documentation.

IMImage7MBS.Splice(rect as IMRectangleInfo7MBS) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Splices a solid color into the image as defined by the geometry.

rect: Define the region of the image to splice with members x, y, width, and height.

See SpliceImage function in ImageMagick documentation.

IMImage7MBS.Spread(pixelInterpolateMethod as integer, radius as double) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Is a special effects method that randomly displaces each pixel in a square area defined by the radius parameter.

method: intepolation method.
radius: choose a random pixel in a neighborhood of this extent.

See SpreadImage function in ImageMagick documentation.

IMImage7MBS.Stegano(watermarkImage as IMImage7MBS) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Hides a digital watermark within the image.

Recover the hidden watermark later to prove that the authenticity of an image. Offset defines the start position within the image to hide the watermark.

See SteganoImage function in ImageMagick documentation.

IMImage7MBS.Stereo(otherImage as IMImage7MBS) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Combines two images and produces a single image that is the composite of a left and right image of a stereo pair.

Special red-green stereo glasses are required to view this effect.

See StereoImage function in ImageMagick documentation.

IMImage7MBS.Strip as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Strips an image of all profiles and comments.

See StripImage function in ImageMagick documentation.

IMImage7MBS.Swirl(degrees as double, pixelInterpolateMethod as integer) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Swirls the pixels about the center of the image, where degrees indicates the sweep of the arc through which each pixel is moved.

You get a more dramatic effect as the degrees move from 1 to 360.

degrees: Define the tightness of the swirling effect.
method: the pixel interpolation method.

See xx function in ImageMagick documentation.

IMImage7MBS.Sync as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Synchronizes image properties.

See SyncImage function in ImageMagick documentation.

IMImage7MBS.SyncAuthenticPixels as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Saves the image pixels to the in-memory or disk cache.

The method returns MagickTrue if the pixel region is flushed, otherwise MagickFalse.
See SyncAuthenticPixels function in ImageMagick documentation.

IMImage7MBS.Texture(Image as IMImage7MBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Layer a texture on pixels matching image background color.

See xx function in ImageMagick documentation.

IMImage7MBS.Thumbnail(columns as integer, rows as integer) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Changes the size of an image to the given dimensions and removes any associated profiles.

The goal is to produce small low cost thumbnail images suited for display on the Web.

columns: the number of columns in the scaled image.
rows: the number of rows in the scaled image.

See ThumbnailImage function in ImageMagick documentation.

IMImage7MBS.TransformColorspace(ColorSpace as Integer) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Transforms an image colorspace, changing the image data to reflect the new colorspace.

See TransformImageColorspace function in ImageMagick documentation.

IMImage7MBS.Transpose as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them by 90 degrees.

See TransposeImage function in ImageMagick documentation.

IMImage7MBS.Transverse as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a vertical mirror image by reflecting the pixels around the central x-axis while rotating them by 270 degrees.

See TransverseImage function in ImageMagick documentation.

IMImage7MBS.Trim as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Trims pixels from the image edges.

It allocates the memory necessary for the new Image structure and returns a pointer to the new image.

See TrimImage function in ImageMagick documentation.

IMImage7MBS.UniqueColors as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the unique colors of an image.

See UniqueImageColors function in ImageMagick documentation.

IMImage7MBS.UnsharpMask(radius as double, sigma as double, amount as double, threshold as double) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ 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.

radius: the radius of the Gaussian, in pixels, not counting the center pixel.
sigma: the standard deviation of the Gaussian, in pixels.
gain: the percentage of the difference between the original and the blur image that is added back into the original.
threshold: the threshold in pixels needed to apply the diffence gain.

See UnsharpMaskImage function in ImageMagick documentation.

IMImage7MBS.VirtualPixels(X as Integer, Y as Integer, Width as Integer, Height as Integer) as Ptr

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns an immutable pixel region.

If the region is successfully accessed, a pointer to it is returned, otherwise nil is returned. The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since there is opportunity to access the pixels in-place (without a copy) if the image is in memory, or in a memory-mapped file. The returned pointer must *never* be deallocated by the user.

Pixels accessed via the returned pointer represent a simple array of type Quantum. If the image type is CMYK or the storage class is PseudoClass, call AuthenticMetacontent after invoking AuthenticPixels to access the meta-content (of type void) corresponding to the the region.

If you plan to modify the pixels, use GetAuthenticPixels() instead.

Note, the VirtualPixels() and AuthenticPixels() methods are not thread-safe. In a threaded environment, use CacheViewVirtualPixels() or CacheViewAuthenticPixels() instead.

See GetVirtualPixels function in ImageMagick documentation.
Format of pixel values depend on what quantum size/type your library copy uses!

IMImage7MBS.Wave(amplitude as double, wavelength as double, pixelInterpolateMethod as integer) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a "ripple" effect in the image by shifting the pixels vertically along a sine wave whose amplitude and wavelength is specified by the given parameters.

amplitude, wavelength: Define the amplitude and wave length of the sine wave.
pixelInterpolateMethod: the pixel interpolation method.

See WaveImage function in ImageMagick documentation.

IMImage7MBS.WhiteThreshold(thresholds as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Is like ThresholdImage() but forces all pixels above the threshold into white while leaving all pixels at or below the threshold unchanged.

threshold: Define the threshold value.

See WhiteThresholdImage function in ImageMagick documentation.

Previous items

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


💬 Ask a question or report a problem
The biggest plugin in space...