Platforms to show: All Mac Windows Linux Cross-Platform
Back to IMImage7MBS class.
IMImage7MBS.Gamma(level as double) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | ImageMagick7 | MBS GraphicsMagick Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The same image viewed on different devices will have perceptual differences in the way the image's intensities are represented on the screen. Specify individual gamma levels for the red, green, and blue channels, or adjust all three with the gamma parameter. Values typically range from 0.8 to 2.3.
You can also reduce the influence of a particular channel with a gamma value of 0.
level: the image gamma as a string (e.g. 1.6,1.2,1.0).
See GammaImage function in ImageMagick documentation.
See also:
IMImage7MBS.GaussianBlur(radius as double, sigma as double) as IMImage7MBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | ImageMagick7 | MBS GraphicsMagick Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
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 GaussianBlur 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.
See GaussianBlurImage function in ImageMagick documentation.
IMImage7MBS.GetImageDynamicThreshold(clusterThreshold as Double, smoothThreshold as Double, byref pixelinfo as IMPixelInfo7MBS) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | ImageMagick7 | MBS GraphicsMagick Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
clusterThreshold: This double represents the minimum number of pixels contained in a hexahedra before it can be considered valid (expressed as a percentage).
smoothThreshold: the smoothing threshold eliminates noise in the second derivative of the histogram. As the value is increased, you can expect a smoother second derivative.
pixelinfo: return the dynamic threshold here.
Returns true on success.
See GetImageDynamicThreshold function in ImageMagick documentation.
IMImage7MBS.GetImageProfile(name as string) as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | ImageMagick7 | MBS GraphicsMagick Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See xx function in ImageMagick documentation.
IMImage7MBS.GetImageQuantizeError as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | ImageMagick7 | MBS GraphicsMagick Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This difference is the total quantization error.
The error is computed by summing over all pixels in an image the distance squared in RGB space between each reference pixel value and its quantized value. These values are computed:
- mean_error_per_pixel: This value is the mean error for any single pixel in the image.
- normalized_mean_square_error: This value is the normalized mean quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in the image.
- normalized_maximum_square_error: This value is the normalized maximum quantization error for any single pixel in the image. This distance measure is normalized to a range between 0 and 1. It is independent of the range of red, green, and blue values in your image.
IMImage7MBS.GetMagickProperty(ImageInfo as IMImageInfo7MBS = nil, embedText as String) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | ImageMagick7 | MBS GraphicsMagick Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
It may be called if no image is defined (IMv7), in which case only global ImageInfo values are available:
\n newline
\r carriage return
< less-than character.
> greater-than character.
& ampersand character.
%% a percent sign
%b file size of image read in
%c comment meta-data property
%d directory component of path
%e filename extension or suffix
%f filename (including suffix)
%g layer canvas page geometry (equivalent to "%Wx%H%X%Y")
%h current image height in pixels
%i image filename (note: becomes output filename for "info:")
%k CALCULATED: number of unique colors
%l label meta-data property
%m image file format (file magic)
%n number of images in current image sequence
%o output filename (used for delegates)
%p index of image in current image list
%q quantum depth (compile-time constant)
%r image class and colorspace
%s scene number (from input unless re-assigned)
%t filename without directory or extension (suffix)
%u unique temporary filename (used for delegates)
%w current width in pixels
%x x resolution (density)
%y y resolution (density)
%z image depth (as read in unless modified, image save depth)
%A image transparency channel enabled (true/false)
%B file size of image in bytes
%C image compression type
%D image GIF dispose method
%G original image size (%wx%h; before any resizes)
%H page (canvas) height
%M Magick filename (original file exactly as given, including read mods)
%O page (canvas) offset ( = %X%Y )
%P page (canvas) size ( = %Wx%H )
%Q image compression quality ( 0 = default )
%S ?? scenes ??
%T image time delay (in centi-seconds)
%U image resolution units
%W page (canvas) width
%X page (canvas) x offset (including sign)
%Y page (canvas) y offset (including sign)
%Z unique filename (used for delegates)
%@ CALCULATED: trim bounding box (without actually trimming)
%# CALCULATED: 'signature' hash of image values
This routine only handles specifically known properties. It does not handle special prefixed properties, profiles, or expressions. Nor does it return any free-form property strings.
The returned string is stored in a structure somewhere, and should not be directly freed. If the string was generated (common) the string will be stored as as either as artifact or option 'get-property'. These may be deleted (cleaned up) when no longer required, but neither artifact or option is guranteed to exist.
See GetMagickProperty function in ImageMagick documentation.
IMImage7MBS.GetNextImageProfile as string
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | ImageMagick7 | MBS GraphicsMagick Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See xx function in ImageMagick documentation.
IMImage7MBS.GetNextImageProperty as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | ImageMagick7 | MBS GraphicsMagick Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See GetNextImageProperty function in ImageMagick documentation.
IMImage7MBS.GetProperty(PropertyKey as String) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | ImageMagick7 | MBS GraphicsMagick Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This includes, profile prefixes, such as "exif:", "iptc:" and "8bim:" It does not handle non-prifile prefixes, such as "fx:", "option:", or "artifact:".
The returned string is stored as a properity of the same name for faster lookup later.
See GetImageProperty function in ImageMagick documentation.
IMImage7MBS.Grayscale(PixelIntensityMethod as Integer) as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | ImageMagick7 | MBS GraphicsMagick Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
PixelIntensityMethod: the pixel intensity method.
See GrayscaleImage function in ImageMagick documentation.
The items on this page are in the following plugins: MBS GraphicsMagick Plugin.