Page 1 of 1

Re: colored to dithered monochrome in magick++

Posted: 2007-07-17T20:36:55-07:00
by magick
Magick++ include a demo/demo.cpp program that shows how to produce monochrome output. Here is a code snippet:

Code: Select all

      example.quantizeColorSpace( GRAYColorspace );
      example.quantizeColors( 2 );