Platforms to show: All Mac Windows Linux Cross-Platform

Back to ImageMagickQ32MBS class.

ImageMagickQ32MBS.Copyright as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The copyright notice for this format.

For more details please check the ImageMagick documentation.

ImageMagickQ32MBS.Features as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the ImageMagick features.

For example whether library is compiled with OpenMP for faster performance.

ImageMagickQ32MBS.HomeURL as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the home url of the library.

For more details please check the ImageMagick documentation.

ImageMagickQ32MBS.IsMagickInstantiated as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns true if the ImageMagick environment is currently instantiated.

In other words: True if InitializeMagick has been called before.

For more details please check the ImageMagick documentation.

ImageMagickQ32MBS.LoadErrorString as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 9.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The last error message from loading the image magick library.

ImageMagickQ32MBS.LoadLibrary(path as string) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Loads the dll/bundle on the give path.
Example
dim i as new ImageMagickQ32MBS

if TargetLinux then
if i.LoadLibrary("libMagick.so.6") then
//MsgBox "library loaded."
else
MsgBox "library failed."
end if
elseif TargetWin32 then
if i.LoadLibrary("CORE_RL_magick_.dll") then
//MsgBox "library loaded."
else
MsgBox "library failed."
end if
else
// Mac OS X
if i.LoadLibraryFile(GetFolderItem("ImageMagick.bundle")) then
//MsgBox "library loaded."
else
MsgBox "The library failed to load."
end if
end if

In case the loading fails the library may be linked to some other libraries (e.g. X11) and you need to install them to get it working.

On Windows you can just pass the name of the library and the system will search it on the paths in the environment variable "PATH" (or the Windows folder).

On Linux, pass the path or name of the library and the system will search for it.

For more details please check the ImageMagick documentation.

With plugin version 6.1 the Mac OS X part accepts a path to a dylib file, too.
Changed to a shared method in plugin version 10.4.

ImageMagickQ32MBS.LoadLibraryFile(path as folderitem) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Loads the dll/bundle on the give path.
Example
dim i as new ImageMagickQ32MBS

if TargetLinux then
if i.LoadLibrary("libMagick.so.6") then
//MsgBox "library loaded."
else
MsgBox "library failed."
end if
elseif TargetWin32 then
if i.LoadLibrary("CORE_RL_magick_.dll") then
//MsgBox "library loaded."
else
MsgBox "library failed."
end if
else
// Mac OS X
if i.LoadLibraryFile(GetFolderItem("ImageMagick.bundle")) then
//MsgBox "library loaded."
else
MsgBox "The library failed to load."
end if
end if

In case the loading fails the library may be linked to some other libraries (e.g. X11) and you need to install them to get it working.

This is the preferred way for Mac OS X as paths may not be unique.

For more details please check the ImageMagick documentation.

With plugin version 6.1 the Mac OS X part accepts a folderitem for a dylib file, too.
Changed to a shared method in plugin version 10.4.

ImageMagickQ32MBS.MagickToMime(name as string) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the officially registered (or de facto) MIME media-type corresponding to a magick string.

If there is no registered media-type, then the string "image/x-magick" (all lower case) is returned.

For more details please check the ImageMagick documentation.

ImageMagickQ32MBS.NewImageInfo as IMImageInfoQ32MBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a new ImageInfo object.

Returns nil on low memory.
For more details please check the ImageMagick documentation.

ImageMagickQ32MBS.PackageName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The package name of the library.

For more details please check the ImageMagick documentation.

ImageMagickQ32MBS.QuantumDepth as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The Quantum Depth of the library.

For more details please check the ImageMagick documentation.

ImageMagickQ32MBS.QuantumDepthLibrary as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The quantum depth used to compile the library.

QuantumDepthLibrary and QuantumDepthPlugin must be equal for the plugin to work correctly. Currently it is compiled for 16bit support.

ImageMagickQ32MBS.QuantumRange as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The quantum range used by this library.

Should be a string like "Q16".

ImageMagickQ32MBS.ReleaseDate as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The release date of the library.

For more details please check the ImageMagick documentation.

ImageMagickQ32MBS.SetCurrentDirectory(path as folderitem) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 11.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets the current working directory.

This is needed for most installations to point to the folder with the libraries in order for LoadLibrary to find the dependencies.

ImageMagickQ32MBS.Version as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Image Magick MBS GraphicsMagick Plugin 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The version of the library.

For more details please check the ImageMagick documentation.

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


The biggest plugin in space...