How to validate image?
Posted: 2007-03-30T10:09:10-07:00
What's the quickest way to validate an image using ImageMagick? In particular, we have a ton of TIFF images we need to validate (we know some are corrupt).
ImageMagick throws an exception when we try to convert these to GIF, but the library chews on the image for a long time (8+ seconds) before throwing the exception. We need a faster way to simply identify if an image is corrupt or not.
Any help will be appreciated.
ImageMagick throws an exception when we try to convert these to GIF, but the library chews on the image for a long time (8+ seconds) before throwing the exception. We need a faster way to simply identify if an image is corrupt or not.
Any help will be appreciated.