Ping for very large BMP image don't work
Posted: 2014-03-21T00:51:34-07:00
Hello.
I try to read very large BMP image from a file. The dimension of the image is 25000x19000 pixel.
following code generates the Magick::ErrorResourceLimit exception:
In other cases when i try to ping PNG image with the same size for example ping function works fine.
How to solve this problem?
I try to read very large BMP image from a file. The dimension of the image is 25000x19000 pixel.
following code generates the Magick::ErrorResourceLimit exception:
Code: Select all
Magick::Image img;
try
{
img.ping("StartupImage.bmp");
}
catch (const Magick::Exception &error_)
{
std::cout<<error_.what();
}
How to solve this problem?