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 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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
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 |
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 |
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 |
This searches for and replaces \n \r \ replaced by newline, return, and percent resp. < > & 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 |
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 |
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 |
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 |
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 |
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.