Re: [wand] Adding new methods to Image
- Hong Minhee
- 2013-10-25 @ 02:44
Feel free to send patches!
On Oct 25, 2013, at 6:31 AM, Jesse Pavel <email@example.com> wrote:
> I'd like to add some missing methods to the Image class. For instance,
for the MagickWand function
> MagickBooleanType MagickBrightnessContrastImage(MagickWand *wand,
> const double brightness,const double contrast)
> is it as simple as
> 1. adding to the appropriate section of api.py
> library.MagickBrightnessContrast Image.argtypes = [ctypes.c_void_p,
> 2. adding a more pleasant method to image.py that calls the api,
performs argument and error checking, etc, using modulate() as a template.