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.c_magick_char_p This subclass prevents the automatic conversion behavior of
ctypes.c_char_p, allowing memory to be properly freed in the destructor. It must only be used for non-const character pointers returned by ImageMagick functions.
-
wand.api.library= <CDLL 'libMagickWand-6.Q16.so.5', handle 63e500 at b5ded510> (
ctypes.CDLL) The MagickWand library.
-
wand.api.libc= <CDLL 'libc.so.6', handle b6f4bdf0 at b5e15530> (
ctypes.CDLL) The C standard library.
-
wand.api.libmagick= <CDLL 'libMagickWand-6.Q16.so.5', handle 63e500 at b5ded510> (
ctypes.CDLL) The ImageMagick library. It is the same withlibraryon platforms other than Windows.New in version 0.1.10.
-
wand.api.load_library() Loads the MagickWand library.
Returns: the MagickWand library and the ImageMagick library Return type: ctypes.CDLL