Kerry - another option for testing a jpeg file for completeness jpeginfo - Prints information and tests integrity of JPEG/JFIF files.
jpeginfo can be used to generate informative listings of jpeg files, and also to check jpeg files for errors. It can also detect broken jpeg and delete them automatically.
