('unique', ctypes.c_char * 4096), ('zero', ctypes.c_char * 4096), ('filename', ctypes.c_char * 4096), ('debug', ctypes.c_int), ('tile', ctypes.c_char_p), ('subimage', ctypes.c_ulong), ('subrange', ctypes.c_ulong), ('pen', PixelPacket), ('signature', ctypes.c_ulong), ('virtual_pixel_method', ctypes.c_void_p), ('transparent_color', PixelPacket), ('profile', ctypes.c_void_p), ] ImageInfo = wrap_ptr_class(_ImageInfo, lib.AcquireImageInfo, lib.DestroyImageInfo) class _Image(ctypes.Structure): pass _Image._fields_ = [ ('storage_class', ctypes.c_int), ('colorspace', ctypes.c_int), ('compression', ctypes.c_int), ('quality', ctypes.c_ulong), ('operation', ctypes.c_int), ('taint', ctypes.c_int), ('matte', ctypes.c_int), ('columns', ctypes.c_ulong),
('magick', ctypes.c_char * 4096), ('unique', ctypes.c_char * 4096), ('zero', ctypes.c_char * 4096), ('filename', ctypes.c_char * 4096), ('debug', ctypes.c_int), ('tile', ctypes.c_char_p), ('subimage', ctypes.c_ulong), ('subrange', ctypes.c_ulong), ('pen', PixelPacket), ('signature', ctypes.c_ulong), ('virtual_pixel_method', ctypes.c_void_p), ('transparent_color', PixelPacket), ('profile', ctypes.c_void_p), ] ImageInfo = wrap_ptr_class(_ImageInfo, lib.AcquireImageInfo, lib.DestroyImageInfo) class _Image(ctypes.Structure): pass _Image._fields_ = [ ('storage_class', ctypes.c_int), ('colorspace', ctypes.c_int), ('compression', ctypes.c_int), ('quality', ctypes.c_ulong), ('operation', ctypes.c_int), ('taint', ctypes.c_int), ('matte', ctypes.c_int), ('columns', ctypes.c_ulong), ('rows', ctypes.c_ulong), ('depth', ctypes.c_ulong),
('length', ctypes.c_ulong), ('info', ctypes.POINTER(ctypes.c_byte)), ('signature', ctypes.c_ulong), ] class _QuantizeInfo(ctypes.Structure): _fields_ = [ ('number_colors', ctypes.c_ulong), ('tree_depth', ctypes.c_ulong), ('dither', ctypes.c_int), ('colorspace', ctypes.c_int), ('measure_error', ctypes.c_int), ('signature', ctypes.c_ulong), ('dither_method', ctypes.c_int), ] QuantizeInfo = wrap_ptr_class(_QuantizeInfo, lambda: lib.AcquireQuantizeInfo(None), lib.DestroyQuantizeInfo) class _ExceptionInfo(ctypes.Structure): """ExceptionInfo info for embedding into another structures""" _fields_ = [ ('severity', ctypes.c_int), ('error_number', ctypes.c_int), ('reason', ctypes.c_char_p), ('description', ctypes.c_char_p), ('exceptions', ctypes.c_void_p), ('relinquish', ctypes.c_int), ('semaphore', ctypes.c_void_p), ('signature', ctypes.c_ulong), ] def __new__(self): raise NotImplementedError
('dash_offset', ctypes.c_double), ('decorate', ctypes.c_int), ('compose', ctypes.c_int), ('text', ctypes.c_char_p), ('face', ctypes.c_ulong), ('font', ctypes.c_char_p), ('metrics', ctypes.c_char_p), ('family', ctypes.c_char_p), ('style', ctypes.c_int), ('stretch', ctypes.c_int), ('weight', ctypes.c_ulong), ('encoding', ctypes.c_char_p), ('pointsize', ctypes.c_double), ('density', ctypes.c_char_p), ('align', ctypes.c_int), ('undercolor', PixelPacket), ('border_color', PixelPacket), ('server_name', ctypes.c_char_p), ('dash_pattern', ctypes.c_double), ('clip_mask', ctypes.c_char_p), ('bounds', SegmentInfo), ('clip_units', ctypes.c_int), ('opacity', ctypes.c_short), ('render', ctypes.c_int), ('element_reference', ElementReference), ('debug', ctypes.c_int), ('signature', ctypes.c_ulong), ] DrawInfo = wrap_ptr_class(_DrawInfo, lib.AcquireDrawInfo, lib.DestroyDrawInfo)
('decorate', ctypes.c_int), ('compose', ctypes.c_int), ('text', ctypes.c_char_p), ('face', ctypes.c_ulong), ('font', ctypes.c_char_p), ('metrics', ctypes.c_char_p), ('family', ctypes.c_char_p), ('style', ctypes.c_int), ('stretch', ctypes.c_int), ('weight', ctypes.c_ulong), ('encoding', ctypes.c_char_p), ('pointsize', ctypes.c_double), ('density', ctypes.c_char_p), ('align', ctypes.c_int), ('undercolor', PixelPacket), ('border_color', PixelPacket), ('server_name', ctypes.c_char_p), ('dash_pattern', ctypes.c_double), ('clip_mask', ctypes.c_char_p), ('bounds', SegmentInfo), ('clip_units', ctypes.c_int), ('opacity', ctypes.c_short), ('render', ctypes.c_int), ('element_reference', ElementReference), ('debug', ctypes.c_int), ('signature', ctypes.c_ulong), ] DrawInfo = wrap_ptr_class(_DrawInfo, lib.AcquireDrawInfo, lib.DestroyDrawInfo)