Platforms to show: All Mac Windows Linux Cross-Platform

Back to IMImage7MBS class.

Previous items Next items

IMImage7MBS.OneAuthenticPixel(X as Integer, Y as Integer) as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns a single pixel at the specified (x,y) location.

The image background color is returned if an error occurs.
See GetOneAuthenticPixel function in ImageMagick documentation.

Memoryblock should have size of ChannelCount * QuantumSize.
Format of pixel values depend on what quantum size/type your library copy uses!

Use OneVirtualPixelInfo for a type independent color information.

IMImage7MBS.OneVirtualPixel(X as Integer, Y as Integer) as MemoryBlock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns a single virtual pixel at the specified (x,y) location.

The image background color is returned if an error occurs.
If you plan to modify the pixel, use GetOneAuthenticPixel() instead.
See GetOneVirtualPixel function in ImageMagick documentation.

Memoryblock should have size of ChannelCount * QuantumSize.
Format of pixel values depend on what quantum size/type your library copy uses!

Use OneVirtualPixelInfo for a type independent color information.

IMImage7MBS.OneVirtualPixelInfo(virtualPixelMethod as Integer, X as Integer, Y as Integer) as IMPixelInfo7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns a single pixel at the specified (x,y) location.

The image background color is returned if an error occurs.
If you plan to modify the pixel, use GetOneAuthenticPixel() instead.
See GetOneVirtualPixelInfo function in ImageMagick documentation.

IMImage7MBS.OptimizeImageLayers as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Compares each image the GIF disposed forms of the previous image in the sequence.

From this it attempts to select the smallest cropped image to replace each frame, while preserving the results of the GIF animation.

See OptimizeImageLayers function in ImageMagick documentation.

IMImage7MBS.OptimizeImageTransparency

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Takes a frame optimized GIF animation, and compares the overlayed pixels against the disposal image resulting from all the previous frames in the animation.

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.

See OptimizeImageTransparency function in ImageMagick documentation.

IMImage7MBS.OptimizePlusImageLayers as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
OptimizePlusImageLayers is exactly as OptimizeImageLayers(), but may also add or even remove extra frames in the animation, if it improves the total number of pixels in the resulting GIF animation.

See OptimizeImagePlusLayers function in ImageMagick documentation.

IMImage7MBS.OrderedDither(threshold 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
Will perform a ordered dither based on a number of pre-defined dithering threshold maps, but over multiple intensity levels, which can be different for different channels, according to the input argument.

threshold: A string containing the name of the threshold dither map to use, followed by zero or more numbers representing the number of color levels tho dither between.
Any level number less than 2 will be equivalent to 2, and means only binary dithering will be applied to each color channel.
No numbers also means a 2 level (bitmap) dither will be applied to all channels, while a single number is the number of levels applied to each channel in sequence. More numbers will be applied in turn to each of the color channels.
For example: "o3x3,6" will generate a 6 level posterization of the image with a ordered 3x3 diffused pixel dither being applied between each level. While checker,8,8,4 will produce a 332 colormaped image with only a single checkerboard hash pattern (50 grey) between each color level, to basically double the number of color levels with a bare minimim of dithering.

See OrderedDitherImage function in ImageMagick documentation.

IMImage7MBS.Perceptible(epsilon 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
Set each pixel whose value is less than |epsilon| to epsilon or -epsilon (whichever is closer) otherwise the pixel value remains unchanged.

epsilon: the epsilon threshold (e.g. 1.0e-9).

See PerceptibleImage function in ImageMagick documentation.

IMImage7MBS.Posterize(levels as Integer, DitherMethod 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
Reduces the image to a limited number of colors for a "poster" effect.

levels: Number of color levels allowed in each channel. Very low values (2, 3, or 4) have the most visible effect.
DitherMethod: choose from UndefinedDitherMethod, NoDitherMethod, RiemersmaDitherMethod, FloydSteinbergDitherMethod.

Returns true on success.
See PosterizeImage function in ImageMagick documentation.

IMImage7MBS.Preview(PreviewType 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
Tiles 9 thumbnails of the specified image with an image processing operation applied with varying parameters.

This may be helpful pin-pointing an appropriate parameter for a particular image processing operation.

preview: the image processing operation. See preview constants.

See xx function in ImageMagick documentation.

IMImage7MBS.Profile(name as string, ProfileData 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
Associates, applies, or removes an ICM, IPTC, or generic profile with / to / from an image.

If the profile is nil, it is removed from the image otherwise added or applied. Use a name of '*' and a profile of nil to remove all profiles from the image.

ICC and ICM profiles are handled as follows: If the image does not have an associated color profile, the one you provide is associated with the image and the image pixels are not transformed. Otherwise, the colorspace transform defined by the existing and new profile are applied to the image pixels and the new profile is associated with the image.

name: Name of profile to add or remove: ICC, IPTC, or generic profile.
ProfileData: the profile data.

See ProfileImage function in ImageMagick documentation.

IMImage7MBS.Properties as Dictionary

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Queries all properties with values.
Example
Dim f As FolderItem = GetFolderItem("/Users/cs/Pictures/IMG_3625.jpg", FolderItem.PathTypeNative)
Dim i As New IMImageInfo7MBS

i.Filename = f.NativePath

Dim p As IMImage7MBS = i.ReadImage
Dim d As Dictionary = p.Properties
Break // see in debugger

See ResetImagePropertyIterator, GetNextImageProperty and GetImageProperty functions in ImageMagick documentation.

IMImage7MBS.Quantize(quantizeInfo as IMQuantizeInfo7MBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Analyzes the colors within a reference image and chooses a fixed number of colors to represent the image.

The goal of the algorithm is to minimize the color difference between the input and output image while minimizing the processing time.

quantizeInfo: Specifies a QuantizeInfo object.

Returns true on success.
See QuantizeImage function in ImageMagick documentation.

IMImage7MBS.QuantizeImages(quantizeInfo as IMQuantizeInfo7MBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
analyzes the colors within a set of reference images and chooses a fixed number of colors to represent the set.

The goal of the algorithm is to minimize the color difference between the input and output images while minimizing the processing time.

quantizeInfo: Specifies an QuantizeInfo structure.
self: Specifies a list of Images.
See QuantizeImages function in ImageMagick documentation.

IMImage7MBS.QueueAuthenticPixels(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
Queues a mutable pixel region.

If the region is successfully initialized a pointer to a Quantum array representing the region is returned, otherwise nil is returned. The returned pointer may point to a temporary working buffer for the pixels or it may point to the final location of the pixels in memory.

Write-only access means that any existing pixel values corresponding to the region are ignored. This is useful if the initial image is being created from scratch, or if the existing pixel values are to be completely replaced without need to refer to their pre-existing values. The application is free to read and write the pixel buffer returned by QueueAuthenticPixels() any way it pleases. QueueAuthenticPixels() does not initialize the pixel array values. Initializing pixel array values is the application's responsibility.

Performance is maximized if the selected region is part of one row, or one or more full rows, since then 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 GetAuthenticMetacontent() after invoking GetAuthenticPixels() to obtain the meta-content (of type void) corresponding to the region. Once the Quantum (and/or Quantum) array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.

x, y, width and height define the perimeter of a region of pixels.

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

IMImage7MBS.RaiseImage(rectangle as IMRectangleInfo7MBS, raise as boolean) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a simulated three-dimensional button-like effect by lightening and darkening the edges of the image.

Members width and height of raise_info define the width of the vertical and horizontal edge of the effect.

rectangle: Define the width and height of the raise area.
raise: A value other than zero creates a 3-D raise effect, otherwise it has a lowered effect.

See RaiseImage function in ImageMagick documentation.

IMImage7MBS.RandomThreshold(minThreshold as Double, maxThreshold 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
Changes the value of individual pixels based on the intensity of each pixel compared to a random threshold.

The result is a low-contrast, two color image.

low,high: Specify the high and low thresholds. These values range from 0 to QuantumRange.

See xx function in ImageMagick documentation.

IMImage7MBS.RangeThreshold(lowBlack as Double, lowWhite as double, highWhite as double, highBlack 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 soft and hard thresholding.

lowBlack: Define the minimum black threshold value.
lowWhite: Define the minimum white threshold value.
highWhite: Define the maximum white threshold value.
highBlack: Define the maximum black threshold value.

See RangeThresholdImage function in ImageMagick documentation.

IMImage7MBS.Remap(quantizeInfo as IMQuantizeInfo7MBS, remapImage as IMImage7MBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Replaces the colors of an image with the closest of the colors from the reference image.

quantizeInfo: Specifies an QuantizeInfo object.
remapImage: the reference image.

Returns true on success.
See RemapImage function in ImageMagick documentation.

IMImage7MBS.RemapImages(quantizeInfo as IMQuantizeInfo7MBS, remapImage as IMImage7MBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Replaces the colors of a sequence of images with the closest color from a reference image.

quantizeInfo: Specifies an QuantizeInfo object.
remapImage: the reference image.

Returns true on success.
See RemapImages function in ImageMagick documentation.

IMImage7MBS.RemoveDuplicateLayers

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Removes any image that is exactly the same as the next image in the given image list.

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.

See xx function in ImageMagick documentation.

IMImage7MBS.RemoveFirstImageFromList as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Removes and returns the first image in the list.

If the given image list pointer pointed to the removed first image, it is set to the new first image of list, or nil if list was emptied, otherwise it is left as is.

See RemoveFirstImageFromList function in ImageMagick documentation.

IMImage7MBS.RemoveImageProfile(name as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Removes a named profile from the image and returns its value.

See xx function in ImageMagick documentation.

IMImage7MBS.RemoveProperty(Key as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Removes a property from the image and returns its value.

See RemoveImageProperty function in ImageMagick documentation.

IMImage7MBS.RemoveZeroDelayLayers

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Removes any image that as a zero delay time.

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 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.

See RemoveZeroDelayLayers function in ImageMagick documentation.

IMImage7MBS.Resample(xResolution as Double, yResolution as Double, filter 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
Resize image in terms of its pixel size, so that when displayed at the given resolution it will be the same size in terms of real world units as the original image at the original resolution.

xResolution: the new image x resolution.
yResolution: the new image y resolution.
filter: Image filter to use.

See ResampleImage function in ImageMagick documentation.

IMImage7MBS.ResetImageProfileIterator

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Resets the image profile iterator.

Use it in conjunction with GetNextImageProfile to iterate over all the profiles associated with an image.

See ResetImageProfileIterator function in ImageMagick documentation.

IMImage7MBS.ResetPropertyIterator

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

Use it in conjunction with GetNextImageProperty() to iterate over all the values associated with an image property.
See ResetImagePropertyIterator function in ImageMagick documentation.

IMImage7MBS.Resize(columns as integer, rows as integer, FilterID 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
Scales an image to the desired dimensions, using the given filter (see AcquireFilterInfo()).

If an undefined filter is given the filter defaults to Mitchell for a colormapped image, a image with a matte channel, or if the image is enlarged. Otherwise the filter defaults to a Lanczos.

columns: the number of columns in the scaled image.
rows: the number of rows in the scaled image.
filterID: Image filter to use.

See ResizeImage function in ImageMagick documentation.

IMImage7MBS.Roll(x as integer, y 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
Offsets an image as defined by x and y offsets.

x: the number of columns to roll in the horizontal direction.
y: the number of rows to roll in the vertical direction.

See RollImage function in ImageMagick documentation.

IMImage7MBS.Rotate(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. RotateImage 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 RotateImage function in ImageMagick documentation.

IMImage7MBS.RotationalBlur(Angle 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
Applies a radial blur to the image.

angle: the angle of the radial blur.
blur: the blur.

See RotationalBlurImage function in ImageMagick documentation.

IMImage7MBS.Sample(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
Scales an image to the desired dimensions with pixel sampling.

Unlike other scaling methods, this method does not introduce any additional color into the scaled image.

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

See SampleImage function in ImageMagick documentation.

IMImage7MBS.Scale(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.

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

See ScaleImage function in ImageMagick documentation.

IMImage7MBS.Segment(colorspaceType as Integer, verbose as Boolean, clusterThreshold as Double, smoothThreshold 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
Segment an image by analyzing the histograms of the color components and identifying units that are homogeneous with the fuzzy C-means technique.

colorspace: Indicate the colorspace.
verbose: Set to true to print detailed information about the identified classes.
clusterThreshold: This represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).
smoothThreshold: the smoothing threshold eliminates noise in the second derivative of the histogram. As the value is increased, you can expect a smoother second derivative.

Returns true on success.
See SegmentImage function in ImageMagick documentation.

IMImage7MBS.SelectiveBlur(radius as double, sigma 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
Selectively blur pixels within a contrast threshold.

It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.

radius: the radius of the Gaussian, in pixels, not counting the center pixel.
sigma: the standard deviation of the Gaussian, in pixels.
threshold: only pixels within this contrast threshold are included in the blur operation.

See SelectiveBlurImage function in ImageMagick documentation.

IMImage7MBS.Separate(ChannelType 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
Separates a channel from the image and returns it as a grayscale image.

See ChannelType constants for parameter.
See SeparateImage function in ImageMagick documentation.

IMImage7MBS.SeparateImages as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns a separate grayscale image for each channel specified.

See SeparateImages function in ImageMagick documentation.

IMImage7MBS.SetGray as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns true if all the pixels in the image have the same red, green, and blue intensities and changes the type of the image to bi-level or grayscale.

See xx function in ImageMagick documentation.

IMImage7MBS.SetImageAlphaChannel(AlphaChannelOption 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
Activates, deactivates, resets, or sets the alpha channel.

The alpha channel types: ActivateAlphaChannel, AssociateAlphaChannel, CopyAlphaChannel, DeactivateAlphaChannel, DisassociateAlphaChannel, ExtractAlphaChannel, OffAlphaChannel, OnAlphaChannel, OpaqueAlphaChannel, SetAlphaChannel, ShapeAlphaChannel, and TransparentAlphaChannel.

see AlphaChannel constants.

See SetImageAlphaChannel function in ImageMagick documentation.

IMImage7MBS.SetImageColorMetric(other as IMImage7MBS) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Measures the difference between colors at each pixel location of two images.

A value other than 0 means the colors match exactly. Otherwise an error measure is computed by summing over all pixels in an image the distance squared in RGB space between each image pixel and its corresponding pixel in the reconstruct image. The error measure is assigned to these image members:

  • mean_error_per_pixel: The mean error for any single pixel in the image.
  • normalized_mean_error: The normalized mean quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in the image.
  • normalized_maximum_error: The normalized maximum quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in your image.

A small normalized mean square error, accessed as image->normalized_mean_error, suggests the images are very similar in spatial layout and color.

See SetImageColorMetric function in ImageMagick documentation.

IMImage7MBS.SetImageColorspace(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
Sets the colorspace member of the Image object.

See SetImageColorspace function in ImageMagick documentation.

IMImage7MBS.SetImageDepth(depth 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
Sets the depth of the image.

See SetImageDepth function in ImageMagick documentation.

Previous items Next items

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


The biggest plugin in space...