Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

One of my tools didn't work properly and i have a lot of image files that isn't complete (50%, 70, it varies). What is a command line tool or lib (C++ or .NET, .NET preferred if not command line) to check if a image file is completed or not. I can see part of the image when i open it but it is obviously not completed so i'd like to delete them all and restart my tool.

share|improve this question
Which formats other than JPG? If there's an EOF marker or the header includes (expected) file size information, it might be possible to check for those. For JPGs, JpegInfo should help; also see here. – Karan Oct 29 '12 at 19:31
@Karan: Good i'll use that, but... i'm on windows. I think i can figure something out using my linux VM so +1. I'll wait for a bit before solving – acidzombie24 Oct 29 '12 at 19:43

imagemagick identify with -regard-warnings -verbose does the job (stderr msg at end)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .