librelist archives

« back to archive

How to apply 'normalize' function using Wand?

How to apply 'normalize' function using Wand?

From:
Michael Curry
Date:
2013-03-03 @ 03:37
I'd like to normalize the colors of an image.  Is it possible to apply the
ImageMagick 'normalize' function natively via Wand?

http://www.imagemagick.org/api/magick-image.php#MagickNormalizeImage

(I don't see it referenced in api.py, so I have written a simple monkey
patch that adds .normalize() to wand.image.Image class, but it'd be nice if
I didn't have to do that.)

Re: [wand] How to apply 'normalize' function using Wand?

From:
Hong Minhee
Date:
2013-03-03 @ 12:03
Hi,

It seems to have to be implemented in Wand.

I’ll include this function in 0.3 release.

Thanks,
Hong Minhee

On Mar 3, 2013, at 12:37 PM, Michael Curry <inactivist@gmail.com> wrote:

> I'd like to normalize the colors of an image.  Is it possible to apply 
the ImageMagick 'normalize' function natively via Wand?
> 
> http://www.imagemagick.org/api/magick-image.php#MagickNormalizeImage
> 
> (I don't see it referenced in api.py, so I have written a simple monkey 
patch that adds .normalize() to wand.image.Image class, but it'd be nice 
if I didn't have to do that.)