Does anyone know of a good program that can scan graphics files (particularly JPG, GIF, and PNG) for corruption?
Preferably, it would be able to scan a bunch of photos automatically and have some sort of manual review option as well.
A few days ago, a command-line command did not work correctly and ended up deleting thousands of graphics files from a FAT32 volume that was practically out of space. I’ve used several different file/photo-recovery programs, but naturally, they are limited in how much they can recover (though fortunately the volume has 8KB clusters which helps somewhat).
Anyway, some of the larger files that were fragmented, are now corrupt. Some of them are not even real files at all (the recovery software merely dumped the clusters that were pointed to by now-overwritten directory entries), while others are broken because of fragmentation.
Moreover, because some picture formats embed a smaller version of the picture as a thumbnail, scanning the thumbnails for corruption is not reliable because it may be intact while the actual file (ie, the picture when viewed full-size), could be corrupt.
Here’s a couple of examples. (The third one wouldn’t even upload because it doesn’t even have the correct header!)