T
Timo Freiberger
Hi everybody,
when I try to compile a program that uses image Magick++ lib, I get the following error:
error: argument of type `unsigned int (Magick::Image:()
const' does not match `const unsigned int'
here is the code:
// new Image
Image glyph(bitmap.width,bitmap.rows, "K", CharPixel, bitmap.buffer);
// this leads to the error:
unsigned int const c = buchstabe.columns;
My first attempt was to use:
PixelPacket *pixel_cache = glyph.getPixels(0,0,glyph.columns,glyph.rows);
but then I get the error:
error: no matching function for call to `Magick::Image::
getPixels(int, int, <unknown type>, <unknown type>)'
/usr/include/Magick++/Image.h:1134: error: candidates are:
MagickLib:ixelPacket* Magick::Image::getPixels(int, int, unsigned int,
unsigned int)
Any help is very apreciated, because i'm stuck on this.
Greetz
Timo
when I try to compile a program that uses image Magick++ lib, I get the following error:
error: argument of type `unsigned int (Magick::Image:()
const' does not match `const unsigned int'
here is the code:
// new Image
Image glyph(bitmap.width,bitmap.rows, "K", CharPixel, bitmap.buffer);
// this leads to the error:
unsigned int const c = buchstabe.columns;
My first attempt was to use:
PixelPacket *pixel_cache = glyph.getPixels(0,0,glyph.columns,glyph.rows);
but then I get the error:
error: no matching function for call to `Magick::Image::
getPixels(int, int, <unknown type>, <unknown type>)'
/usr/include/Magick++/Image.h:1134: error: candidates are:
MagickLib:ixelPacket* Magick::Image::getPixels(int, int, unsigned int,
unsigned int)
Any help is very apreciated, because i'm stuck on this.
Greetz
Timo