Posted: 2006-03-03T16:53:51-07:00
There is a light-weight method for determining the image type before you read it, MagickPingImage().
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=6005