Page 1 of 1

-ordered-dither in magickwand?

Posted: 2007-01-08T13:19:04-07:00
by vilords
How to use -ordered-dither in magickwand?

Is there an alternative, or a way to get similar results?
http://www.cit.gu.edu.au/~anthony/graph ... /quantize/

Thanks

Posted: 2007-01-08T14:30:59-07:00
by magick
We'll need to add a method to the MagickWand API for ordered dither. For now, you must call the MagickCore method OrderedPosterizeImageChannel() directly to perform ordered dithering.

Posted: 2007-01-08T14:46:31-07:00
by vilords
hmm, how to call that....thru exec?

Posted: 2007-01-08T14:54:36-07:00
by magick
ImageMagick 6.3.1-7 Beta has the new MagickOrderedPosterizeImage() method. It will be available tommorrow. To use MagickCore within MagickWand, simple extract the image with GetImageFromMagickWand(), operate on it with MagickWand, then put in back in a wand container with NewMagickWandFromImage().

Posted: 2007-01-08T14:59:51-07:00
by vilords
great, I'll try that tomorrow then....

could you please let me know how to do masks with magicwand? Is that possible?

1. I'll open a pic
2. create let's say rectangle with rounded edges which will be the mask for the pic

I see it's pretty easy to do via command line when using -matte....but couldn't figure it out how to do that via magicwand.