Platforms to show: All Mac Windows Linux Cross-Platform

Back to IMImage7MBS class.

IMImage7MBS.ClampToQuantum(value as Double) as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Clamps given value to the range for quantum.

Limits range between 0 and QuantumRange and for non-HDRI rounds value.

IMImage7MBS.Ping(path as string) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns all the properties of an image or image sequence except for the pixels.

It is much faster and consumes far less memory than Read(). On failure, a nil image is returned and exception describes the reason for the failure.

See PingImage function in ImageMagick documentation.

See also:

IMImage7MBS.Read(path as string) as IMImage7MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Reads an image or image sequence from a file or file handle.

The method returns a nil if there is a memory shortage or if the image cannot be read. On failure, a nil image is returned and exception describes the reason for the failure.

See ReadImage function in ImageMagick documentation.

IMImage7MBS.ScaleQuantumToChar(value as Double) as UInt8

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method ImageMagick7 MBS GraphicsMagick Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Scales a quantum value to 8 bit unsigned integer.

Depending on which library is loaded a quantum is an UInt8, UInt16, UInt32, Single or Double value.
This function normalizes and rounds values to nearest 8 bit integer value.

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


The biggest plugin in space...