Platforms to show: All Mac Windows Linux Cross-Platform

Previous items Next items

IMImage7MBS.Modify 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: Ensures that there is only a single reference to the image to be modified, updating the provided image pointer to point to a clone of the original image if necessary.
Notes: See ModifyImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.Modulate(modulate as String) 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: Lets you control the brightness, saturation, and hue of an image.
Notes:
Modulate represents the brightness, saturation, and hue as one parameter (e.g. 90,150,100). If the image colorspace is HSL, the modulation is lightness, saturation, and hue. For HWB, use blackness, whiteness, and hue. And for HCL, use chrome, luma, and hue.

modulate: Define the percent change in brightness, saturation, and hue.

See ModulateImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.Morphology(MorphologyMethod as Integer, iterations as Integer, kernel as IMKernelInfo7MBS) 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: Applies a user supplied kernel to the image according to the given mophology method.
Notes:
This function applies any and all user defined settings before calling the above internal function MorphologyApply().

User defined settings include... * Output Bias for Convolution and correlation ("-define convolve:bias=??") * Kernel Scale/normalize settings ("-define convolve:scale=??") This can also includes the addition of a scaled unity kernel. * Show Kernel being applied ("-define morphology:showKernel=1")

Other operators that do not want user supplied options interfering, especially "convolve:bias" and "morphology:showKernel" should use MorphologyApply() directly.

See MorphologyImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.MotionBlur(radius as double, sigma as double, angle 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: Simulates motion blur.
Notes:
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 MotionBlurImage() selects a suitable radius for you. Angle gives the angle of the blurring motion.

radius: the radius of the Gaussian, in pixels, not counting the center pixel.
sigma: the standard deviation of the Gaussian, in pixels.
angle: Apply the effect along this angle.

See MotionBlurImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.Negate(gray as boolean = false) 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: Negates the colors in the reference image.
Notes:
The grayscale option means that only grayscale values within the image are negated.

grayscale: If True, only negate grayscale pixels within the image.

See xx function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.Normalize 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: Normalize method enhances the contrast of a color image by mapping the darkest 2 percent of all pixel to black and the brightest 1 percent to white.
Notes: See NormalizeImage function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.NumberColors 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 number of unique colors in an image.
Notes: See GetNumberColors function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.OilPaint(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: Applies a special effect filter that simulates an oil painting.
Notes:
Each pixel is replaced by the most frequent color occurring in a circular region defined by radius.

radius: the radius of the circular neighborhood.
sigma: the standard deviation of the Gaussian, in pixels.

See xx function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.OneAuthenticPixel(X as Integer, Y as Integer) as MemoryBlock
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns a single pixel at the specified (x,y) location.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.OneVirtualPixel(X as Integer, Y as Integer) as MemoryBlock
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns a single virtual pixel at the specified (x,y) location.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.OneVirtualPixelInfo(virtualPixelMethod as Integer, X as Integer, Y as Integer) as IMPixelInfo7MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Returns a single pixel at the specified (x,y) location.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.OptimizeImageLayers 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: Compares each image the GIF disposed forms of the previous image in the sequence.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.OptimizeImageTransparency
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Takes a frame optimized GIF animation, and compares the overlayed pixels against the disposal image resulting from all the previous frames in the animation.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.OptimizePlusImageLayers 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: 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.
Notes: See OptimizeImagePlusLayers function in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.OrderedDither(threshold as string) 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: 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.
Notes:
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.

Feedback, Comments & Corrections

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

See PerceptibleImage function in ImageMagick documentation.

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

IMImage7MBS.Properties as Dictionary
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: 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
Notes: See ResetImagePropertyIterator, GetNextImageProperty and GetImageProperty functions in ImageMagick documentation.

Feedback, Comments & Corrections

IMImage7MBS.Quantize(quantizeInfo as IMQuantizeInfo7MBS) 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: Analyzes the colors within a reference image and chooses a fixed number of colors to represent the image.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.QuantizeImages(quantizeInfo as IMQuantizeInfo7MBS) 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: analyzes the colors within a set of reference images and chooses a fixed number of colors to represent the set.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.QueueAuthenticPixels(X as Integer, Y as Integer, Width as Integer, Height as Integer) as Ptr
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Queues a mutable pixel region.
Notes:
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!

Feedback, Comments & Corrections

IMImage7MBS.RaiseImage(rectangle as IMRectangleInfo7MBS, raise 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: Creates a simulated three-dimensional button-like effect by lightening and darkening the edges of the image.
Notes:
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.

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

IMImage7MBS.Remap(quantizeInfo as IMQuantizeInfo7MBS, remapImage 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: Replaces the colors of an image with the closest of the colors from the reference image.
Notes:
quantizeInfo: Specifies an QuantizeInfo object.
remapImage: the reference image.

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

Feedback, Comments & Corrections

IMImage7MBS.RemapImages(quantizeInfo as IMQuantizeInfo7MBS, remapImage 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: Replaces the colors of a sequence of images with the closest color from a reference image.
Notes:
quantizeInfo: Specifies an QuantizeInfo object.
remapImage: the reference image.

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

Feedback, Comments & Corrections

IMImage7MBS.RemoveDuplicateLayers
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method ImageMagick7 MBS GraphicsMagick Plugin 20.0 Yes Yes Yes Yes No
Function: Removes any image that is exactly the same as the next image in the given image list.
Notes:
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.

Feedback, Comments & Corrections

IMImage7MBS.RemoveFirstImageFromList 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: Removes and returns the first image in the list.
Notes:
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.

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 Xojo blog