Page 1 of 1

Some problems with "GrayscaleType" function

Posted: 2009-02-05T11:48:57-07:00
by franknapoli
I've some problems with the function "GrayscaleType". I post you the code:
...
Image image(path);
// Image to Gray
image.type(GrayscaleType);
...

My software stops when try to call the line ------ image.type(GrayscaleType);
I don't know what is the problem because ImageMagick is correctly installed.

I'm using ImageMagick and Magick++ to work with C++ on a SO Linux Ubuntu 8.04. Please help me. Thanks