Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

IMImageQ16MBS.AdaptiveThreshold(width as Integer, height as Integer, offset as Integer) as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.1 Yes Yes Yes Yes No
Function: AdaptiveThreshold selects an individual threshold for each pixel based on the range of intensity values in its local neighborhood.
Notes:
This allows for thresholding of an image whose global intensity histogram doesn't contain distinctive peaks.
Sets the last exception property.

width: The width of the local neighborhood.
height: The height of the local neighborhood.
offset: The mean offset.

For more details please check the ImageMagick documentation.

Feedback, Comments & Corrections

IMImageQ16MBS.AddNoise(NoiseType as Integer) as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.1 Yes Yes Yes Yes No
Function: Adds random noise to the image.
Notes:
Constants
UndefinedNoise=0
UniformNoise=1
GaussianNoise=2
MultiplicativeGaussianNoise=3
ImpulseNoise=4
LaplacianNoise=5
PoissonNoise=6

For more details please check the ImageMagick documentation.
Sets the last exception property.

Feedback, Comments & Corrections

IMImageQ16MBS.AffineTransformImage(matrix as IMImageAffineMatrixQ16MBS) as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 11.3 Yes Yes Yes Yes No
Function: Transforms an image as dictated by the affine matrix.

Feedback, Comments & Corrections

IMImageQ16MBS.AppendImageToList(img as IMImageQ16MBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.2 Yes Yes Yes Yes No
Function: Adds an image to the image list.
Notes: For more details please check the ImageMagick documentation.

Feedback, Comments & Corrections

IMImageQ16MBS.AutoGammaImage as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 15.2 Yes Yes Yes Yes No
Function: AutoGammaImage extract the 'mean' from the image and adjust the image to try make set its gamma appropriatally.
Notes: Returns true on success or false on failure.

Feedback, Comments & Corrections

IMImageQ16MBS.AutoGammaImageChannel(ChannelType as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 15.2 Yes Yes Yes Yes No
Function: AutoGammaImage extract the 'mean' from the image and adjust the image to try make set its gamma appropriatally.
Notes:
Returns true on success or false on failure.

channelType: The channels to auto-level. If the special 'SyncChannels' flag is set all given channels is adjusted in the same way using the mean average of those channels.

Constants for channel:
const UndefinedChannel= 0
const RedChannel= &h0001
const GrayChannel= &h0001
const CyanChannel= &h0001
const GreenChannel= &h0002
const MagentaChannel= &h0002
const BlueChannel= &h0004
const YellowChannel= &h0004
const AlphaChannel= &h0008
const OpacityChannel= &h0008
const BlackChannel= &h0020
const IndexChannel= &h0020
const AllChannels= &h7fffffff

Feedback, Comments & Corrections

IMImageQ16MBS.AutoLevelImage as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 15.2 Yes Yes Yes Yes No
Function: AutoLevelImage adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.
Notes: Returns true on success or false on failure.

Feedback, Comments & Corrections

IMImageQ16MBS.AutoLevelImageChannel(ChannelType as Integer) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 15.2 Yes Yes Yes Yes No
Function: AutoLevelImage adjusts the levels of a particular image channel by scaling the minimum and maximum values to the full quantum range.
Notes:
Returns true on success or false on failure.

ChannelType: The channels to auto-level. If the special 'SyncChannels' flag is set the min/max/mean value of all given channels is used for all given channels, to all channels in the same way.

Constants for channel:
const UndefinedChannel= 0
const RedChannel= &h0001
const GrayChannel= &h0001
const CyanChannel= &h0001
const GreenChannel= &h0002
const MagentaChannel= &h0002
const BlueChannel= &h0004
const YellowChannel= &h0004
const AlphaChannel= &h0008
const OpacityChannel= &h0008
const BlackChannel= &h0020
const IndexChannel= &h0020
const AllChannels= &h7fffffff

Feedback, Comments & Corrections

IMImageQ16MBS.Average as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.2 Yes Yes Yes Yes No
Function: The Average() method takes a set of images and averages them together.
Notes:
Each image in the set must have the same width and height. Average() returns a single image with each corresponding pixel component of each image averaged. On failure, a nil image is returned and exception describes the reason for the failure.
Sets the last exception property.

For more details please check the ImageMagick documentation.

Feedback, Comments & Corrections

IMImageQ16MBS.BilevelChannel(channel as Integer, threshold as Double) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.1 Yes Yes Yes Yes No
Function: Changes the value of individual pixels based on the intensity of each pixel channel.
Notes:
The result is a high-contrast image.

channel: The channel type.
threshold: define the threshold values.

Constants for channel:
const UndefinedChannel= 0
const RedChannel= &h0001
const GrayChannel= &h0001
const CyanChannel= &h0001
const GreenChannel= &h0002
const MagentaChannel= &h0002
const BlueChannel= &h0004
const YellowChannel= &h0004
const AlphaChannel= &h0008
const OpacityChannel= &h0008
const BlackChannel= &h0020
const IndexChannel= &h0020
const AllChannels= &h7fffffff

For more details please check the ImageMagick documentation.

Feedback, Comments & Corrections

IMImageQ16MBS.BlackThreshold(threshold as string) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.1 Yes Yes Yes Yes No
Function: BlackThreshold is like Threshold but forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.
Notes:
No exceptions are generated.
threshold: Define the threshold value. (ASCII string)
For more details please check the ImageMagick documentation.

Feedback, Comments & Corrections

IMImageQ16MBS.BlobSize as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.1 Yes Yes Yes Yes No
Function: The expected size for this image written to a file.
Notes: For more details please check the ImageMagick documentation.

Feedback, Comments & Corrections

IMImageQ16MBS.Blur(radius as Double, sigma as Double) as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.2 Yes Yes Yes Yes No
Function: Blurs an image.
Notes:
We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma) . For reasonable results, the radius should be larger than sigma. Use a radius of 0 and BlurImage selects a suitable radius for you.

radius: The radius of the Gaussian, in pixels, not counting the center pixel.
sigma: The standard deviation of the Gaussian, in pixels.

For more details please check the ImageMagick documentation.

Feedback, Comments & Corrections

IMImageQ16MBS.BlurImageChannel(channel as Integer, radius as Double, sigma as Double) as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.1 Yes Yes Yes Yes No
Function: Blurs an image.
Notes:
We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma) . For reasonable results, the radius should be larger than sigma. Use a radius of 0 and BlurImageChannel selects a suitable radius for you.

channel: The channel type.
radius: The radius of the Gaussian, in pixels, not counting the center pixel.
sigma: The standard deviation of the Gaussian, in pixels.

Constants for channel:
const UndefinedChannel= 0
const RedChannel= &h0001
const GrayChannel= &h0001
const CyanChannel= &h0001
const GreenChannel= &h0002
const MagentaChannel= &h0002
const BlueChannel= &h0004
const YellowChannel= &h0004
const AlphaChannel= &h0008
const OpacityChannel= &h0008
const BlackChannel= &h0020
const IndexChannel= &h0020
const AllChannels= &h7fffffff

For more details please check the ImageMagick documentation.

Feedback, Comments & Corrections

IMImageQ16MBS.BorderImage(x as Integer, y as Integer, width as Integer, height as Integer) as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 11.3 Yes Yes Yes Yes No
Function: Surrounds the image with a border of the color defined by the bordercolor member of the image.
Notes: The width and height of the border are defined by the corresponding parameters.

Feedback, Comments & Corrections

IMImageQ16MBS.BrightnessContrastImage(brightness as Double, contrast as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 15.2 Yes Yes Yes Yes No
Function: Changes the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
Notes:
Returns true on success or false on failure.

brightness: the brightness percent (-100 .. 100).
contrast: the contrast percent (-100 .. 100).

Feedback, Comments & Corrections

IMImageQ16MBS.BrightnessContrastImageChannel(ChannelType as Integer, brightness as Double, contrast as Double) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 15.2 Yes Yes Yes Yes No
Function: Changes the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
Notes:
Returns true on success or false on failure.

brightness: the brightness percent (-100 .. 100).
contrast: the contrast percent (-100 .. 100).
ChannelType: The channels to use.

Constants for channel:
const UndefinedChannel= 0
const RedChannel= &h0001
const GrayChannel= &h0001
const CyanChannel= &h0001
const GreenChannel= &h0002
const MagentaChannel= &h0002
const BlueChannel= &h0004
const YellowChannel= &h0004
const AlphaChannel= &h0008
const OpacityChannel= &h0008
const BlackChannel= &h0020
const IndexChannel= &h0020
const AllChannels= &h7fffffff

Feedback, Comments & Corrections

IMImageQ16MBS.Charcoal(radius as Double, sigma as Double) as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.4 Yes Yes Yes Yes No
Function: Charcoal creates a new image that is a copy of an existing one with the edge highlighted.
Notes:
radius: the radius of the pixel neighborhood.
sigma: The standard deviation of the Gaussian, in pixels.

Returns nil on any error.
Sets the last exception property.

Feedback, Comments & Corrections

IMImageQ16MBS.Chop(x as Integer, y as Integer, width as Integer, height as Integer) as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 6.1 Yes Yes Yes Yes No
Function: Chop removes a region of an image and collapses the image to occupy the removed portion.
Notes:
Returns nil on any error.
Sets the last exception property.

Feedback, Comments & Corrections

IMImageQ16MBS.ClipPath(path as string, inside as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.2 Yes Yes Yes Yes No
Function: Sets the image clip mask based any clipping path information if it exists.
Notes:
pathname:name of clipping path resource. If name is preceded by #, use clipping path numbered by name.
inside:if true, later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.

Returns true on success and false on any error.

Feedback, Comments & Corrections

IMImageQ16MBS.Clone as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.1 Yes Yes Yes Yes No
Function: Creates a copy of this image object.
Notes: For more details please check the ImageMagick documentation.

Feedback, Comments & Corrections

IMImageQ16MBS.CloneImageAttributes(image as IMImageAttributeQ16MBS) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 6.1 Yes Yes Yes Yes No
Function: CloneImageAttributes() clones one or more image attributes.
Notes: Returns false on any error.

Feedback, Comments & Corrections

IMImageQ16MBS.CloneImageProfiles(SourceImage as IMImageQ16MBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.2 Yes Yes Yes Yes No
Function: Clones one or more image profiles.
Notes: Returns false on any error and true on success.

Feedback, Comments & Corrections

IMImageQ16MBS.Close
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.1 Yes Yes Yes Yes No
Function: The destructor.
Notes:
There is no need to call this method except you want to free all resources used by this object now without waiting for Realbasic to do it for you.
(e.g. some Realbasic versions crash on Windows if there are plugin objects not closed.)

Feedback, Comments & Corrections

IMImageQ16MBS.ClutImage(clutImage as IMImageQ16MBS) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 15.2 Yes Yes Yes Yes No
Function: Replaces each color value in the given image, by using it as an index to lookup a replacement color value in a Color Look UP Table in the form of an image.
Notes:
The values are extracted along a diagonal of the CLUT image so either a horizontal or vertial gradient image can be used.

Typically this is used to either re-color a gray-scale image according to a color gradient in the CLUT image, or to perform a freeform histogram (level) adjustment according to the (typically gray-scale) gradient in the CLUT image.

When the 'channel' mask includes the matte/alpha transparency channel but one image has no such channel it is assumed that that image is a simple gray-scale image that will effect the alpha channel values, either for gray-scale coloring (with transparent or semi-transparent colors), or a histogram adjustment of existing alpha channel values. If both images have matte channels, direct and normal indexing is applied, which is rarely used.

ClutImage: the color lookup table image for replacement color values.

Returns true on success or false on failure.

Feedback, Comments & Corrections

IMImageQ16MBS.ClutImageChannel(ChannelType as Integer, clutImage as IMImageQ16MBS) as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 15.2 Yes Yes Yes Yes No
Function: Replaces each color value in the given image, by using it as an index to lookup a replacement color value in a Color Look UP Table in the form of an image.
Notes:
The values are extracted along a diagonal of the CLUT image so either a horizontal or vertial gradient image can be used.

Typically this is used to either re-color a gray-scale image according to a color gradient in the CLUT image, or to perform a freeform histogram (level) adjustment according to the (typically gray-scale) gradient in the CLUT image.

When the 'channel' mask includes the matte/alpha transparency channel but one image has no such channel it is assumed that that image is a simple gray-scale image that will effect the alpha channel values, either for gray-scale coloring (with transparent or semi-transparent colors), or a histogram adjustment of existing alpha channel values. If both images have matte channels, direct and normal indexing is applied, which is rarely used.

ClutImage: the color lookup table image for replacement color values.
ChannelType: The channels to use.

Returns true on success or false on failure.

Constants for channel:
const UndefinedChannel= 0
const RedChannel= &h0001
const GrayChannel= &h0001
const CyanChannel= &h0001
const GreenChannel= &h0002
const MagentaChannel= &h0002
const BlueChannel= &h0004
const YellowChannel= &h0004
const AlphaChannel= &h0008
const OpacityChannel= &h0008
const BlackChannel= &h0020
const IndexChannel= &h0020
const AllChannels= &h7fffffff

Feedback, Comments & Corrections

IMImageQ16MBS.CoalesceImages as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 6.1 Yes Yes Yes Yes No
Function: CoalesceImages composites a set of images while respecting any page offsets and disposal methods.
Notes:
GIF, MIFF, and MNG animation sequences typically start with an image background and each subsequent image varies in size and offset. CoalesceImages() returns a new sequence where each image in the sequence is the same size as the first and composited with the next image in the sequence.

Returns nil on any error.
Sets the last exception property.

Feedback, Comments & Corrections

IMImageQ16MBS.Colorize(opacity as string, PenColorRed as Integer, PenColorGreen as Integer, PenColorBlue as Integer, PenColorOpacity as Integer) as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.4 Yes Yes Yes Yes No
Function: Method ColorizeImage creates a new image that is a copy of an existing one with the image pixels colorized.
Notes:
The colorization is controlled with the pen color and the opacity levels.

opacity: A character string indicating the level of opacity as a percentage (0-100).
PenColorRed, PenColorGreen, PenColorBlue and PenColorOpacity define the pen color used.

Returns nil on any error.
Sets the last exception property.

Feedback, Comments & Corrections

IMImageQ16MBS.Combine(channel as Integer) as IMImageQ16MBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method Image Magick MBS GraphicsMagick Plugin 5.2 Yes Yes Yes Yes No
Function: Combines one or more images into a single image.
Notes:
The grayscale value of the pixels of each image in the sequence is assigned in order to the specified channels of the combined image. The typical ordering would be image 1 => Red, 2 => Green, 3 => Blue, etc.

The lastexception property is set.

Feedback, Comments & Corrections

Next items

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




Links
MBS Xojo tutorial videos