Need to check for corrupt images

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Use the identify program to check for corrupt image files. Iterate thru all the files and check for a non-zero program exit status. A non-zero status means an exception occurred most likely due to a corrupt image.
Post Reply