I refer to http://www.imagemagick.org/script/magick-core.php's core.c and compile and run it , It working very well in my computer.
But When I change ReadImage() to PingImage() function and recompile and then run it, It's always appear "Segmentation fault".
I think the PingImage() load source image is faster then ReadImage(), But I get Image always 0x00, Why?
Image * image = PingImage(...,....);
^------- 0x00 (NULL)
Could somebody point out my mistake.
thanks
