wand.api — Low-level interfaces

Changed in version 0.1.10: Changed to throw ImportError instead of AttributeError when the shared library fails to load.

wand.api.load_library()

Loads the MagickWand library.

Returns:the MagickWand library and the ImageMagick library
wand.api.library = <CDLL 'libMagickWand.so.5', handle 97d88c0 at 99928ec>

(ctypes.CDLL) The MagickWand library.

wand.api.libmagick = <CDLL 'libMagickWand.so.5', handle 97d88c0 at 99928ec>

(ctypes.CDLL) The ImageMagick library. It is the same with library on platforms other than Windows.

New in version 0.1.10.

wand.api.libc = <CDLL 'libc.so.6', handle 555a1830 at 985788c>

(ctypes.CDLL) The C standard library.