Code: Select all
image.read(IN_FILE);//OK
unsigned int w = image.columns(); // BAD ... some way too large number for width!!!
Geometry gg(image.rows(),image.columns());//it is OK!
Geometry g = image.geometry();//exception type:MagickOption
see the comment in the code of my problem. and my big questions is why i do have an exception of type MagickOption
when trying to read the geometry of ANY file format (tried *miff *png *tif)!!!
error: "image does not contain geometry"
???
any hint will be appreciated