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.

class wand.api.AffineMatrix
class wand.api.MagickPixelPacket
class wand.api.PixelInfo
class wand.api.PointInfo
wand.api.libc = <CDLL 'libc.so.6', handle 7f2f41bbb7b0>

(ctypes.CDLL) The C standard library.

wand.api.libmagick = <CDLL 'libMagickWand-6.Q16.so.6', handle 55def65771b0>

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

New in version 0.1.10.

wand.api.library = <CDLL 'libMagickWand-6.Q16.so.6', handle 55def65771b0>

(ctypes.CDLL) The MagickWand library.

wand.api.load_library()

Loads the MagickWand library.

Returns:

the MagickWand library and the ImageMagick library

Return type:

ctypes.CDLL