Platforms to show: All Mac Windows Linux Cross-Platform

Back to IMImage7MBS class.

IMImage7MBS.IdentifyImageGray as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns grayscale if all the pixels in the image have the same red, green, and blue intensities, and bi-level is the intensity is either 0 or QuantumRange.

Returns one of the image type constants.
Otherwise undefined is returned.
See IdentifyImageGray function in ImageMagick documentation.

IMImage7MBS.IdentifyImageMonochrome 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 the intensity is either 0 or QuantumRange.

See IdentifyImageMonochrome function in ImageMagick documentation.

IMImage7MBS.IdentifyImageType as Integer

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

Bilevel Grayscale GrayscaleMatte Palette PaletteMatte TrueColor TrueColorMatte ColorSeparation ColorSeparationMatte

To ensure the image type matches its potential, use SetImageType.

See IdentifyImageType function in ImageMagick documentation.

IMImage7MBS.IdentifyPaletteImage 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 the image has 256 unique colors or less.

See IdentifyPaletteImage function in ImageMagick documentation.

IMImage7MBS.ImageDepth as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the depth of a particular image channel.

See GetImageDepth function in ImageMagick documentation.

IMImage7MBS.ImageQuantumDepth(constrain as Boolean = false) as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the depth of the image rounded to a legal quantum depth: 8, 16, or 32.

constrain: A value other than false, constrains the depth to a maximum of MAGICKCORE_QUANTUM_DEPTH.

See GetImageQuantumDepth function in ImageMagick documentation.

IMImage7MBS.ImageStatistics as IMChannelStatistics7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns statistics for each channel in the image.

The statistics include the channel depth, its minima, maxima, mean, standard deviation, kurtosis and skewness.

See GetImageStatistics function in ImageMagick documentation.

IMImage7MBS.ImagesToBlob(info as IMImageInfo7MBS) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
ImageToBlobs saves multiple images in a blob.

It returns the image as a formatted blob. The magick member of the Image determines the format of the returned blob (GIF, JPEG, PNG, etc.). This method is the equivalent of WriteImage, but writes the formatted "file" to a memory buffer rather than to an actual file.
See ImagesToBlob function in ImageMagick documentation.

IMImage7MBS.ImageToBlob(info as IMImageInfo7MBS) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
ImageToBlob implements direct to memory image formats.

It returns the image as a formatted blob. The magick member of the Image determines the format of the returned blob (GIF, JPEG, PNG, etc.). This method is the equivalent of WriteImage, but writes the formatted "file" to a memory buffer rather than to an actual file.
See ImageToBlob function in ImageMagick documentation.

IMImage7MBS.Implode(amount 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 new image that is a copy of an existing one with the image pixels "implode" by the specified percentage.

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

Method ImplodeImage returns a pointer to the image after it is implode. A null image is returned if there is a memory shortage.

amount: Define the extent of the implosion.
method: the pixel interpolation method.

See ImplodeImage function in ImageMagick documentation.

IMImage7MBS.ImportPixels(x as integer, y as integer, width as integer, height as integer, map as string, storageType as integer, data as Ptr) as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Accepts pixel data and stores in the image at the location you specify.

The method returns true on success otherwise false if an error is encountered. The pixel data can be either char, Quantum, short int, unsigned int, unsigned long long, float, or double in the order specified by map.

Suppose your want to upload the first scanline of a 640x480 image from character data in red-green-blue order:

image.ImportImagePixels(0, 0, 640, 480, "RGB", kCharPixel, pixels)

  • x,y,width,height: These values define the perimeter of a region of pixels you want to define.
  • map: This string reflects the expected ordering of the pixel array. It can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent), O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.
  • type: Define the data type of the pixels. Float and double types are normalized to [0..1] otherwise [0..QuantumRange]. Choose from these types: CharPixel (char *), DoublePixel (double *), FloatPixel (float *), LongPixel (unsigned int *), LongLongPixel (unsigned long long *), QuantumPixel (Quantum *), or ShortPixel (unsigned short *).
  • pixels: This array of values contain the pixel components as defined by map and type. You must preallocate this array where the expected length varies depending on the values of width, height, map, and type.
See ImportImagePixels function in ImageMagick documentation.

IMImage7MBS.IntegralRotate(degrees 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
Rotates the image an integral of 90 degrees.

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

rotations: Specifies the number of 90 degree rotations.

See IntegralRotateImage function in ImageMagick documentation.

IMImage7MBS.InterpolativeResize(columns as Integer, Rows as Integer, 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
Resizes an image using the specified interpolation method.

columns: the number of columns in the resized image.
rows: the number of rows in the resized image.
method: the pixel interpolation method.

See xx function in ImageMagick documentation.

IMImage7MBS.InterpretProperties(ImageInfo as IMImageInfo7MBS = nil, embedText 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
Replaces any embedded formatting characters with the appropriate image property and returns the interpreted text.

This searches for and replaces \n \r \ replaced by newline, return, and percent resp. &lt; &gt; &amp; replaced by '<', '>', '&' resp. replaced by percent

x [x] where 'x' is a single letter properity, case sensitive). [type:name] where 'type' a is special and known prefix. [name] where 'name' is a specifically known attribute, calculated value, or a per-image property string name, or a per-image 'artifact' (as generated from a global option). It may contain ':' as long as the prefix is not special.

Single letter substitutions will only happen if the character before the percent is NOT a number. But braced substitutions will always be performed. This prevents the typical usage of percent in a interpreted geometry argument from being substituted when the percent is a geometry flag.

If 'glob-expresions' ('*' or '?' characters) is used for 'name' it may be used as a search pattern to print multiple lines of "name=value\n" pairs of the associated set of properties.

ImageInfo: the image info. (required)
image: the image.
embedText: the address of a character string containing the embedded formatting characters.
See InterpretImageProperties function in ImageMagick documentation.

IMImage7MBS.InverseFourierTransformImage(phaseImage as IMImage7MBS, modulus as Boolean) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.

self: the magnitude or real image.
phaseImage: the phase or imaginary image.
modulus: if true, return transform as a magnitude / phase pair otherwise a real / imaginary image pair.
See InverseFourierTransformImage function in ImageMagick documentation.

IMImage7MBS.IsEqual(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
Compare the pixels of two images and returns immediately if any pixel is not identical.

See IsImagesEqual function in ImageMagick documentation.

IMImage7MBS.IsHighDynamicRangeImage as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns MagickTrue if any pixel component is non-integer or exceeds the bounds of the quantum depth.

e.g. for Q16 0..65535.

See IsHighDynamicRangeImage function in ImageMagick documentation.

IMImage7MBS.IsHistogram as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns MagickTrue if the image has 1024 unique colors or less.

See IsHistogramImage function in ImageMagick documentation.

IMImage7MBS.IsImageOpaque 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 none of the pixels in the image have an alpha value other than OpaqueAlpha (QuantumRange).

Will return true immediatally if alpha channel is not available.

See IsImageOpaque function in ImageMagick documentation.

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


The biggest plugin in space...