MBS Plugin Documentation
Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchie
New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0
The list of the themes, classes, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
IMImageMBS.kRemoveZeroLayer = &h0000000B
const, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the Image layer method constants.
const, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the Image layer method constants.
IMImageMBS.kUndefinedDispose = &h00000000
const, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the Image layer Dispose Types.
const, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the Image layer Dispose Types.
IMImageMBS.kUndefinedLayer = &h00000000
const, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the Image layer method constants.
const, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the Image layer method constants.
IMImageMBS.kUnrecognizedDispose = &h00000000
const, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the Image layer Dispose Types.
const, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: One of the Image layer Dispose Types.
IMImageMBS.LastError as Integer
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The last error code reported.
Notes:
If an exception is raised and it is not a warning exception, this exception code is saved in this property.
(Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The last error code reported.
Notes:
If an exception is raised and it is not a warning exception, this exception code is saved in this property.
(Read and Write property)
IMImageMBS.LastException as IMExceptionMBS
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The last exception thrown by the Image Magick library.
Notes:
You should check this value after every call to the library, process the error and set the property to nil.
For more details please check the ImageMagick documentation.
(Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The last exception thrown by the Image Magick library.
Notes:
You should check this value after every call to the library, process the error and set the property to nil.
For more details please check the ImageMagick documentation.
(Read and Write property)
IMImageMBS.LittleEndian as Boolean
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 6.5, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Controls whether CopyPicture, CopyPixel, SetPixel, SetPicture will swap colors.
Notes:
Value depends on the compilation settings on the imagemagick library used.
(Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 6.5, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Controls whether CopyPicture, CopyPixel, SetPixel, SetPicture will swap colors.
Notes:
Value depends on the compilation settings on the imagemagick library used.
(Read and Write property)
IMImageMBS.Magick as String
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Image encoding format (e.g. "GIF").
Notes: (Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Image encoding format (e.g. "GIF").
Notes: (Read and Write property)
IMImageMBS.Magnify as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A convenience method that scales an image proportionally to twice its size.
Notes:
Sets the last exception property.
For more details please check the ImageMagick documentation.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A convenience method that scales an image proportionally to twice its size.
Notes:
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageMBS.Matte as Boolean
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether an alpha channel is used/present.
Notes:
Set to true to enable masks.
(Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Whether an alpha channel is used/present.
Notes:
Set to true to enable masks.
(Read and Write property)
IMImageMBS.MatteColor as IMColorMBS
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Image matte (transparent) color.
Notes: (Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Image matte (transparent) color.
Notes: (Read and Write property)
IMImageMBS.MedianFilter(radius as double) as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Applies a digital filter that improves the quality of a noisy image.
Notes:
Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.
Sets the last exception property.
For more details please check the ImageMagick documentation.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Applies a digital filter that improves the quality of a noisy image.
Notes:
Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageMBS.MergeImageLayers(ImageLayerMethod as integer) as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: MergeImageLayers() 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 ImageLayerMethod, and is initialized using the first images 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.
ImageLayerMethod:
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.
Can raise an exception.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: MergeImageLayers() 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 ImageLayerMethod, and is initialized using the first images 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.
ImageLayerMethod:
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.
Can raise an exception.
IMImageMBS.Minify as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A convenience method that scales an image proportionally to half its size.
Notes:
Sets the last exception property.
For more details please check the ImageMagick documentation.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: A convenience method that scales an image proportionally to half its size.
Notes:
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageMBS.Montage as String
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Tile size and offset within an image montage. Only valid for montage images.
Notes: (Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Tile size and offset within an image montage. Only valid for montage images.
Notes: (Read and Write property)
IMImageMBS.MosaicImages as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 6.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: MosaicImages inlays an image sequence to form a single coherent picture.
Notes:
It returns a single image with each image in the sequence composited at the location defined by the page member of the image structure.
Returns nil on any error.
Sets the last exception property.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 6.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: MosaicImages inlays an image sequence to form a single coherent picture.
Notes:
It returns a single image with each image in the sequence composited at the location defined by the page member of the image structure.
Returns nil on any error.
Sets the last exception property.
IMImageMBS.MotionBlur(radius as double, sigma as double, angle as double) as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
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 MotionBlur selects a suitable radius for you. Angle gives the angle of the blurring motion.
Sets the last exception property.
For more details please check the ImageMagick documentation.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
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 MotionBlur selects a suitable radius for you. Angle gives the angle of the blurring motion.
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageMBS.NewImage(info as IMImageInfoMBS, width as integer, height as integer, background as IMMagickPixelPacketMBS) as boolean
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Creates a new image.
Example:
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Creates a new image.
Example:
b=new IMMagickPixelPacketMBS
b.Blue=65535
b.ColorSpace=1 // RGB
b.Depth=16
imageinfo = im.NewImageInfo
imageinfo.Depth=16
imageinfo.ColorSpace=1
//this should read any image IM understands
image = new IMImageMBS
if image.NewImage(imageinfo,500,500,b) then
p=NewPicture(300,300,32)
p.Graphics.ForeColor=Rgb(255,0,0)
p.Graphics.FillOval 0,0,300,300
image.SetPicture p,0,0
else
MsgBox "failed"
Return nil
end if
Notes: Returns false on failure and true on success.IMImageMBS.Offset as Integer
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Number of initial bytes to skip over when reading raw image.
Notes: (Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Number of initial bytes to skip over when reading raw image.
Notes: (Read and Write property)
IMImageMBS.OilPaint(radius as double) as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Method OilPaintImage creates a new image that is a copy of an existing one with each pixel component replaced with the color of greatest frequency in a circular neighborhood.
Notes:
radius parameter: radius of the circular neighborhood.
Returns nil on any error.
Sets the last exception property.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.4, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Method OilPaintImage creates a new image that is a copy of an existing one with each pixel component replaced with the color of greatest frequency in a circular neighborhood.
Notes:
radius parameter: radius of the circular neighborhood.
Returns nil on any error.
Sets the last exception property.
IMImageMBS.OptimizeImageLayers as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: OptimizeImageLayers() 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.
Can raise an exception.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: OptimizeImageLayers() 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.
Can raise an exception.
IMImageMBS.OptimizeImageTransparency
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: OptimizeImageTransparency() 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.
Can raise an exception.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: OptimizeImageTransparency() 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.
Can raise an exception.
IMImageMBS.OptimizePlusImageLayers as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: OptimizeImagePlusLayers() 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: Can raise an exception.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 8.3, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: OptimizeImagePlusLayers() 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: Can raise an exception.
IMImageMBS.Orientation as Integer
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The image orientation.
Notes:
constants:
For more details please check the ImageMagick documentation.
(Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The image orientation.
Notes:
constants:
| const UndefinedOrientation | = 0 |
| const TopLeftOrientation | = 1 |
| const TopRightOrientation | = 2 |
| const BottomRightOrientation | = 3 |
| const BottomLeftOrientation | = 4 |
| const LeftTopOrientation | = 5 |
| const RightTopOrientation | = 6 |
| const RightBottomOrientation | = 7 |
| const LeftBottomOrientation | = 8 |
For more details please check the ImageMagick documentation.
(Read and Write property)
IMImageMBS.ProfileImage(name as string, ProfileData as string) as boolean
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Adds or removes a ICC, IPTC, or generic profile from an image.
Notes:
If the ProfileData is "", it is removed from the image otherwise added. Use a name of '*' and a ProfileData of "" to remove all profiles from the image.
Returns false on any error and true on success.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Adds or removes a ICC, IPTC, or generic profile from an image.
Notes:
If the ProfileData is "", it is removed from the image otherwise added. Use a name of '*' and a ProfileData of "" to remove all profiles from the image.
Returns false on any error and true on success.
IMImageMBS.Quality as Integer
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: JPEG/MIFF/PNG compression level.
Example:
Default value is 75.
(Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: JPEG/MIFF/PNG compression level.
Example:
Function TestJPEG(f as folderitem) As picture
// Reads an image, compresses in memory to JPEG, decompresses using JPEGlib and returns the image
// if quality setting works, you see it in the result.
// no error checking included!
// needs: im as ImageMagickMBS ready initialized
dim image as IMImageMBS
dim imageinfo as IMImageInfoMBS
dim s,blob as string
dim p as Picture
dim i as integer
if f = nil then
Return nil
end if
imageinfo = im.NewImageInfo
#if TargetWin32 then //do not use shellpath, if spaces, IM doesn't like escaped paths
imageinfo.Filename = f.AbsolutePath
#else
imageinfo.Filename = f.UnixpathMBS
#endif
//this should read any image IM understands
image = im.ReadImage(imageinfo)
//check for error
if im.lastexception <> nil and im.LastException.Severity >= 400 then
s = "LastError: "+Format(im.LastError,"-0")+" - Severity: "+str(im.LastException.Severity)+EndOfLine+im.LastException.Reason
MsgBox s
Return nil
elseif image = nil then
MsgBox "image=nil"
Return nil
end if
// Now lets convert to jpeg
imageinfo.Filename = "image.jpg"
imageinfo.Quality = 10 // 100 is max
blob = image.ImageToBlob(imageinfo)
// It may fail
if blob.lenb = 0 then
Return nil
end if
p = JPEGStringToPictureMBS(blob,true)
image.DestroyImage
imageinfo.DestroyImageInfo
Return p
Exception
Return nil
End Function
Notes: Default value is 75.
(Read and Write property)
IMImageMBS.RadialBlur(angle as double) as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: RadialBlur applies a radial blur to the image.
Notes:
angle: The angle of the radial blur.
Sets the last exception property.
For more details please check the ImageMagick documentation.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: RadialBlur applies a radial blur to the image.
Notes:
angle: The angle of the radial blur.
Sets the last exception property.
For more details please check the ImageMagick documentation.
IMImageMBS.RandomThresholdChannel(channel as integer, thresholds as string) as boolean
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Canges 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.
channel: The channel or channels to be thresholded.
thresholds: a geometry string containing low,high thresholds. If the string contains 2x2, 3x3, or 4x4, an ordered dither of order 2, 3, or 4 is performed instead. (ASCII string)
Sets the last exception property.
Constants for channel:
For more details please check the ImageMagick documentation.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Canges 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.
channel: The channel or channels to be thresholded.
thresholds: a geometry string containing low,high thresholds. If the string contains 2x2, 3x3, or 4x4, an ordered dither of order 2, 3, or 4 is performed instead. (ASCII string)
Sets the last exception property.
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.
IMImageMBS.ReduceNoise(radius as double) as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Smooths the contours of an image while still preserving edge information.
Notes:
The algorithm works by replacing each pixel with its neighbor closest in value. A neighbor is defined by radius. Use a radius of 0 and ReduceNoise selects a suitable radius for you.
For more details please check the ImageMagick documentation.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Smooths the contours of an image while still preserving edge information.
Notes:
The algorithm works by replacing each pixel with its neighbor closest in value. A neighbor is defined by radius. Use a radius of 0 and ReduceNoise selects a suitable radius for you.
For more details please check the ImageMagick documentation.
IMImageMBS.Release as Boolean
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: If true, the destructor will release the handle.
Notes: (Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: If true, the destructor will release the handle.
Notes: (Read and Write property)
IMImageMBS.RemoveFirstImageFromList as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Removes the first image from the image list and returns the image.
Notes:
Returns nil on any error.
For more details please check the ImageMagick documentation.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Removes the first image from the image list and returns the image.
Notes:
Returns nil on any error.
For more details please check the ImageMagick documentation.
IMImageMBS.RemoveImageProfile(name as string) as boolean
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Removes a profile from the image-map by its name.
Notes:
name: The name of the profile to be removed.
Returns false on any error and true on success.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Removes a profile from the image-map by its name.
Notes:
name: The name of the profile to be removed.
Returns false on any error and true on success.
IMImageMBS.RenderingIntent as Integer
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The rendering intent to use.
Notes:
constants:
(Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The rendering intent to use.
Notes:
constants:
| UndefinedIntent | 0 |
| SaturationIntent | 1 |
| PerceptualIntent | 2 |
| AbsoluteIntent | 3 |
| RelativeIntent | 4 |
IMImageMBS.ResetImageAttributeIterator
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 6.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: ResetImageAttributeIterator() resets the image attributes iterator.
Notes: Use it in conjunction with GetNextImageAttribute() to iterate over all the values associated with an image.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 6.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: ResetImageAttributeIterator() resets the image attributes iterator.
Notes: Use it in conjunction with GetNextImageAttribute() to iterate over all the values associated with an image.
IMImageMBS.ResetImageProfileIterator
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Resets the image profile iterator.
Notes: Use it in conjunction with GetNextImageProfile() to iterate over all the profiles associated with an image.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Resets the image profile iterator.
Notes: Use it in conjunction with GetNextImageProfile() to iterate over all the profiles associated with an image.
IMImageMBS.Resize(width as integer, height as integer, FilterID as integer, blur as double) as IMImageMBS
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scales an image to the desired dimensions.
Notes:
Constants for the FilterID:
Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response). Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.
Sets the last exception property.
method, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Scales an image to the desired dimensions.
Notes:
Constants for the FilterID:
| const PointFilter | =1 |
| const BoxFilter | =2 |
| const TriangleFilter | =3 |
| const HermiteFilter | =4 |
| const HanningFilter | =5 |
| const HammingFilter | =6 |
| const BlackmanFilter | =7 |
| const GaussianFilter | =8 |
| const QuadraticFilter | =9 |
| const CubicFilter | =10 |
| const CatromFilter | =11 |
| const MitchellFilter | =12 |
| const LanczosFilter | =13 |
| const BesselFilter | =14 |
| const SincFilter | =15 |
Most of the filters are FIR (finite impulse response), however, Bessel, Gaussian, and Sinc are IIR (infinite impulse response). Bessel and Sinc are windowed (brought down to zero) with the Blackman filter.
Sets the last exception property.
IMImageMBS.ResolutionUnits as Integer
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Units of image resolution.
Notes:
constants:
(Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.2, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Units of image resolution.
Notes:
constants:
| UndefinedResolution | 0 | Unset value. |
| PixelsPerInchResolution | 1 | Density specifications are specified in units of pixels per inch (english units). |
| PixelsPerCentimeterResolution | 2 | Density specifications are specified in units of pixels per centimeter (metric units). |
IMImageMBS.ResolutionX as double
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The horizontal resolution of the image.
Notes:
The unit for resolution must be specified.
For more details please check the ImageMagick documentation.
(Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The horizontal resolution of the image.
Notes:
The unit for resolution must be specified.
For more details please check the ImageMagick documentation.
(Read and Write property)
IMImageMBS.ResolutionY as double
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The vertical resolution of the image.
Notes:
The unit for resolution must be specified.
For more details please check the ImageMagick documentation.
(Read and Write property)
property, Image Magick, MBS ImageMagick Plugin (ImageMagick), class IMImageMBS, Console safe, Plugin version: 5.1, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: The vertical resolution of the image.
Notes:
The unit for resolution must be specified.
For more details please check the ImageMagick documentation.
(Read and Write property)
The items on this page are in the following plugins: MBS ImageMagick Plugin.
Monkeybread Software Realbasic Plugins - Messdiener Nickenich