Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I downloaded a bunch of images off a web server (70,000 or so) from a website I am working on and a fairly large number of them are corrupt but not empty.

I can see the corrupt ones as thumbnails in a folder as they have no thumbnail image view and delete them but due to the large volume of files its going to take forever!

Is there any way to either search a folder for corrupt images or some sort of software I can use to clean up a directory containing images?

I have a windows PC.

share|improve this question

marked as duplicate by Karan, TFM, KronoS, Mokubai, HackToHell Mar 10 '13 at 13:10

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Are these images all the same format (jpeg, gif, bmp, etc.)? – CharlieRB Mar 8 '13 at 16:08
Yeah they are all jpegs. – Jeffrey Jenkinson Mar 8 '13 at 17:50

In Windows Explorer, go into Details view and select lots of the image-specific (and, ideally, JPEG-specific) columns: Dimensions, Bit depth, Camera maker, Camera model, Date taken, Exposure time, Focal length, F-stop, ISO speed, etc.  Look for a column where the valid images consistently have a non-blank value and the corrupt images are blank; then filter on that column.

To be safe, don’t delete them right away.  Drag them into a “Corrupt Images” folder, and then switch that folder into an image/thumbnail view to ensure that you didn’t pick up any good images.  (Then delete them.)

share|improve this answer
This assumes that the JPEGs have EXIF data. What if they don't? – Karan Mar 10 '13 at 0:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.