I am new to magick++.
I tried to complie the simple examples.
Code: Select all
InitializeMagick(NULL );//
Image image;
// Read a file into image object
image.read( "C:\\TN.jpg" ); //<- this line failed on debug mode
// Crop the image to specified size (width, height, xOffset, yOffset)
image.crop( Geometry(100,100, 100, 100) );
// Write the image to a file
image.write( "C:\\TN2.jpg" );
Please kindly tell me what is the line, thanks a lot, very appreciated.