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
Return type:ctypes.CDLL
wand.api.library = <CDLL 'libMagickWand.so.5', handle 2fb2190 at 2fd5690>

(ctypes.CDLL) The MagickWand library.

wand.api.libmagick = <CDLL 'libMagickWand.so.5', handle 2fb2190 at 2fd5690>

(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 2aaaaaaf2e90 at 2fe5110>

(ctypes.CDLL) The C standard library.