views:

16

answers:

0

Hi all,

I have an ImageMagick-based 32-bit C++ application. Under Windows 7 64-bit, it crashes within ImageMagic on any attempt to read a JPG file. A trivial example like this:

#include <Magick++.h>

int APIENTRY _tWinMain(...)
{

    Magick::Image img;
    img.read("D:\\a.jpg");
    return 0;
}

crashes, too. The crash is within STL code (string::copy() has a bogus source string), called by ImageMagick. I'm linking against ImageMagick v.6.6.1 Q16.

Any idea what's going on, please? Is this a known issue?