MagickNewImage() crashes with assertion
wand/pixel-wand.c:1198: PixelGetMagickColor: Assertion `wand->signature == 0xabacadabUL' failed.
This is in v6.3.5-2 beta built from ImageMagick-6.3.5-2.tar.gz dated Jul 17 01:23 on x86_64 GNU/Linux
MagickNewImage() crashes with assertion -- v6.3.5-2 beta
Re: MagickNewImage() crashes with assertion -- v6.3.5-2 beta
Did you instantiate the pixel wand? This works for us:
Code: Select all
magick_wand=NewMagickWand();
pixel_wand=NewPixelWand();
MagickNewImage(magick_wand,100,100,pixel_wand);
Re: MagickNewImage() crashes with assertion -- v6.3.5-2 beta
Arghhh!!!, when I changed the code to use the new MagickGetBackgroundColor() I removed an initialisation, and the change didn't get tested because of the CloneMagickWand() crash.
My apologies for wasting your time.
My apologies for wasting your time.