Page 1 of 1

Detect and repair corrupt images

Posted: 2016-01-21T16:14:38-07:00
by jbuzz
I often receive TIF images that throw exceptions when accessed using .NET System methods or other libraries. These are files are sometimes able to be rendered by Irfanview and resaved to the original file format which repairs the corruption somehow so the new image file then reads properly using the .NET methods that had previously failed.

Are there any suggested methods to detect and repair corrupted image files using ImageMagick?

Thank you.

Re: Detect and repair corrupt images

Posted: 2016-01-21T16:26:23-07:00
by snibgo
Compared with other software, IM is generally fussy about file validity, and won't attempt corrections. So you could use IM to identify problem files, then use other software to attempt corrections.