Can IM help me identify incomplete JPG files

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dognose
Posts: 265
Joined: 2005-03-08T22:16:37-07:00
Contact:

Can IM help me identify incomplete JPG files

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Contact:

Re: Can IM help me identify incomplete JPG files

Post 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.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot], Google [Bot], Majestic-12 [Bot] and 16 guests