Change ReadImage() to PingImage()
Posted: 2011-01-18T07:18:20-07:00
Dear master,
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![Very Happy :D](./images/smilies/icon_biggrin.gif)
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
![Very Happy :D](./images/smilies/icon_biggrin.gif)