Some problems with "GrayscaleType" function

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
franknapoli

Some problems with "GrayscaleType" function

Post 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
Post Reply