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);