Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

IMImage7MBS.IdentifyImageGray as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: 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.
Notes:
Returns one of the image type constants.
Otherwise undefined is returned.
See IdentifyImageGray function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.IdentifyImageMonochrome as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: 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.
Notes: See IdentifyImageMonochrome function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.IdentifyImageType as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns the potential type of image.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.IdentifyPaletteImage as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns true if the image has 256 unique colors or less.
Notes: See IdentifyPaletteImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.ImageDepth as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns the depth of a particular image channel.
Notes: See GetImageDepth function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.ImageQuantumDepth(constrain as Boolean = false) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns the depth of the image rounded to a legal quantum depth: 8, 16, or 32.
Notes:
constrain: A value other than false, constrains the depth to a maximum of MAGICKCORE_QUANTUM_DEPTH.

See GetImageQuantumDepth function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.ImageStatistics as IMChannelStatistics7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns statistics for each channel in the image.
Notes:
The statistics include the channel depth, its minima, maxima, mean, standard deviation, kurtosis and skewness.

See GetImageStatistics function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.ImagesToBlob(info as IMImageInfo7MBS) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: ImageToBlobs saves multiple images in a blob.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.ImageToBlob(info as IMImageInfo7MBS) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: ImageToBlob implements direct to memory image formats.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.Implode(amount as double, pixelInterpolateMethod as integer) as IMImage7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Creates a new image that is a copy of an existing one with the image pixels "implode" by the specified percentage.
Notes:
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.

Feedback, Comments & Corrections

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 Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Accepts pixel data and stores in the image at the location you specify.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.IntegralRotate(degrees as Integer) as IMImage7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Rotates the image an integral of 90 degrees.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.InterpolativeResize(columns as Integer, Rows as Integer, PixelInterpolateMethod as Integer) as IMImage7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Resizes an image using the specified interpolation method.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.InterpretProperties(ImageInfo as IMImageInfo7MBS = nil, embedText as String) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Replaces any embedded formatting characters with the appropriate image property and returns the interpreted text.
Notes:
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 associacted 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.

Feedback, Comments & Corrections

IMImage7MBS.InverseFourierTransformImage(phaseImage as IMImage7MBS, modulus as Boolean) as IMImage7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.IsEqual(other as IMImage7MBS) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Compare the pixels of two images and returns immediately if any pixel is not identical.
Notes: See IsImagesEqual function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.IsHighDynamicRangeImage as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns MagickTrue if any pixel component is non-integer or exceeds the bounds of the quantum depth.
Notes:
e.g. for Q16 0..65535.

See IsHighDynamicRangeImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.IsHistogram as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns MagickTrue if the image has 1024 unique colors or less.
Notes: See IsHistogramImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.IsImageOpaque as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns true if none of the pixels in the image have an alpha value other than OpaqueAlpha (QuantumRange).
Notes:
Will return true immediatally if alpha channel is not available.

See IsImageOpaque function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.Kuwahara(radius as double, sigma as double) as IMImage7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Kuwahara is an edge preserving noise reduction filter.
Notes:
radius: the square window radius.
sigma: the standard deviation of the Gaussian, in pixels.

See KuwaharaImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.Level(BlackPoint as double, WhitePoint as double, gamma as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Adjusts the levels of a particular image channel by scaling the colors falling between specified white and black points to the full available quantum range.
Notes:
The parameters provided represent the black, and white points. The black point specifies the darkest color in the image. Colors darker than the black point are set to zero. White point specifies the lightest color in the image. Colors brighter than the white point are set to the maximum quantum value.

If a '!' flag is given, map black and white colors to the given levels rather than mapping those levels to black and white. See LevelizeImage() below.

Gamma specifies a gamma correction to apply to the image.

BlackPoint: The level to map zero (black) to.
WhitePoint: The level to map QuantumRange (white) to.

See LevelImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.LevelImageColors(BlackColor as IMPixelInfo7MBS, WhiteColor as IMPixelInfo7MBS, invert as Boolean) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Levels image colors.
Notes:
Maps the given color to "black" and "white" values, linearly spreading out the colors, and level values on a channel by channel bases, as per LevelImage(). The given colors allows you to specify different level ranges for each of the color channels separately.

If the boolean 'invert' is set true the image values will modifyed in the reverse direction. That is any existing "black" and "white" colors in the image will become the color values given, with all other values compressed appropriatally. This effectivally maps a greyscale gradient into the given color gradient.

BlackColor: The color to map black to/from
WhiteColor: The color to map white to/from
invert: if true map the colors (levelize), rather than from (level)

See LevelImageColors function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.Levelize(BlackPoint as double, WhitePoint as double, gamma as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Applies the reversed LevelImage() operation to just the specific channels specified.
Notes:
It compresses the full range of color values, so that they lie between the given black and white points. Gamma is applied before the values are mapped.

LevelizeImage() can be called with by using a +level command line API option, or using a '!' on a -level or LevelImage() geometry string.

It can be used to de-contrast a greyscale image to the exact levels specified. Or by using specific levels for each channel of an image you can convert a gray-scale image to any linear color gradient, according to those levels.

BlackPoint: The level to map zero (black) to.
WhitePoint: The level to map QuantumRange (white) to.
gamma: adjust gamma by this factor before mapping values.

See LevelizeImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.LinearStretch(BlackPoint as double, WhitePoint as double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Discards any pixels below the black point and above the white point and levels the remaining pixels.
Notes:
blackPoint: the black point.
whitePoint: the white point.

See LinearStretchImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.LiquidRescale(columns as Integer, Rows as Integer, deltaX as Double, rigidity as Double) as IMImage7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Rescales image with seam carving.
Notes:
columns: the number of columns in the rescaled image.
rows: the number of rows in the rescaled image.
deltaX: maximum seam transversal step (0 means straight seams).
rigidity: introduce a bias for non-straight seams (typically 0).

See LiquidRescaleImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.LocalContrast(radius as double, strength as double) as IMImage7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Attempts to increase the appearance of large-scale light-dark transitions.
Notes:
Local contrast enhancement works similarly to sharpening with an unsharp mask, however the mask is instead created using an image with a greater blur distance.

radius: the radius of the Gaussian blur, in percentage with 100 resulting in a blur radius of 20 of largest dimension.
strength: the strength of the blur mask in percentage.

See LocalContrastImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.Magnify as IMImage7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Doubles the size of the image with a pixel art scaling algorithm.
Notes: See xx function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.MergeImageLayers(ImageLayerMethod as integer) as IMImage7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Composes all the image layers from the current given image onward to produce a single image of the merged layers.
Notes:
The inital canvas's size depends on the given LayerMethod, and is initialized using the first images background color. The images are then compositied onto that image in sequence using the given composition that has been assigned to each individual image.

method: the method of selecting the size of the initial canvas.
MergeLayer: Merge all layers onto a canvas just large enough to hold all the actual images. The virtual canvas of the first image is preserved but otherwise ignored.
FlattenLayer: Use the virtual canvas size of first image. Images which fall outside this canvas is clipped. This can be used to 'fill out' a given virtual canvas.
MosaicLayer: Start with the virtual canvas of the first image, enlarging left and right edges to contain all images. Images with negative offsets will be clipped.
TrimBoundsLayer: Determine the overall bounds of all the image layers just as in "MergeLayer", then adjust the the canvas and offsets to be relative to those bounds, without overlaying the images.
WARNING: a new image is not returned, the original image sequence page data is modified instead.

See MergeImageLayers function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.Minify as IMImage7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Is a convenience method that scales an image proportionally to half its size.
Notes: See xx function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.MinMaxStretch(black as double, white as double, gamma as double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Stretches image colors.
Notes:
Uses the exact minimum and maximum values found in each of the channels given, as the BlackPoint and WhitePoint to linearly stretch the colors (and histogram) of the image. The stretch points are also moved further inward by the adjustment values given.

If the adjustment values are both zero this function is equivalent to a perfect normalization (or autolevel) of the image.

Each channel is stretched independantally of each other (producing color distortion) unless the special 'SyncChannels' flag is also provided in the channels setting. If this flag is present the minimum and maximum point will be extracted from all the given channels, and those channels will be stretched by exactly the same amount (preventing color distortion).

In the special case that only ONE value is found in a channel of the image that value is not stretched, that value is left as is.

The 'SyncChannels' is turned on in the 'DefaultChannels' setting by default.

See MinMaxStretchImage function in ImageMagick documentation.

black, white: move the black / white point inward from the minimum and maximum points by this color value.
gamma: the gamma.

Feedback, Comments & Corrections

Previous items Next items

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

The biggest plugin in space...




Links
MBS FileMaker blog