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?".
Is it possible to recognize corrupted images using ImageMagick? if yes, what sort of commands do I have to use?
I am using IM 6.3.1 on Windows XP.
Thank you in advance.
- Site Admin
- Posts: 10957
- Joined: 2003-05-31T11:32:55-07:00
Use the identify command to detect corrupted images. The identify program returns a non-zero exit status if a corrupted image is encountered.
Thanks for your reply.
Can you tell me what script do I need to write to know the number of colors of an image?
OS = Linux.
IM version = 6.2.3.