Page 1 of 1

Can IM help me identify incomplete JPG files

Posted: 2016-11-14T13:57:48-07:00
by dognose
having a problem with batch file processing (bash / linux)
Most images are fine, but a few are incomplete, corrupted during transfer.

How can I test and reject the bad images?

Re: Can IM help me identify incomplete JPG files

Posted: 2016-11-14T14:02:20-07:00
by fmw42
There is no way that I know that IM can tell it is bad without trying to read it. So you would have to try reading it and if it fails, then reject it.