A bug in decorate.c (Frame Image) ?
Posted: 2011-12-03T16:17:54-07:00
I'm using magick++ but it seems the bug is in a .c file, so I post the message here...
if I apply the following code on the following image I got the following exception :
"Magick: FrameIsLessThanImageSize
'<my file name>'@error/decorate.c/FrameImage/214"
I have tried 2 other images and got the same exception.
Is it a bug ?
the code :
the pic :
if I apply the following code on the following image I got the following exception :
"Magick: FrameIsLessThanImageSize
'<my file name>'@error/decorate.c/FrameImage/214"
I have tried 2 other images and got the same exception.
Is it a bug ?
the code :
Code: Select all
Magick::Geometry geoB(5,5,-2,-2);
picture.border(geoB);
Magick::Geometry geoE(1126,917,-158,-129);
picture.extent(geoE,"white");
picture.frame(55,55,28,28);