On 28 June 2012 16:05, Darrell Anderson humanreadable@yahoo.com wrote:
Try this:
Use image magicks tool called identify:
identify -v image-name | grep corrupt
if there is corruption it wil say something like "Corrupt Image" so just grep for it
Ah yes, great thinking. :-) I had forgotten about imagemagick.
Good boy! Roll over! Get biscuit! :-)
Darrell
On a OT note. ImageMagick rocks! It's ridiculously versatile. Right now I am using it to calculate the mode (most frequently occuring number in an array) by creating a histogram of each individual pixel across 18,000 images to generate a common background. Imagemagick does the heavy lifting in parts of it.
Calvin