Hi

I installed the binary release of ImageMagick for windows, but the debug
sympols/database is not included.

Any help to get debug up and running (I also tried to compile myself using
the include-directory of the binary, but get an unresolved symbol om
Magick::Color(unsigned char, unsigned char, unsigned char), which I really
don't get).


However, the function I have problem with is the following (crashes in
debug mode always, and release mode only sometimes):
-------
                Magick::Image img;
                img.size(Magick::Geometry(image.GetWidth(), image.GetHeight()));
                img.modifyImage();

                Magick::Pixels pixelc(img);
                Magick::PixelPacket* p = pixelc.get(0, 0, image.GetWidth(),
image.GetHeight());

                for (unsigned int i = 0; i < image.GetHeight(); ++i) {
                        for (unsigned int j = 0; j < image.GetWidth(); ++j, 
++p) {
                                unsigned int c = image.GetPixelFast(j,i);
                                Magick::Color color((c >> 16) & 0xFF, (c >> 8) 
& 0xFF, c & 0xFF);
                                (*p) = color;
                        }
                }

                pixelc.sync();

                return img;
        }
---------


Hope someone can help.




Best regards,

Preben

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to