Can IM report on images with errors in their formatting?

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
grgoffe
Posts: 3
Joined: 2010-04-02T00:00:28-07:00
Authentication code: 8675308

Can IM report on images with errors in their formatting?

Post by grgoffe »

Howdy,

I have a bunch of images and have had network problems during some of their download. There are too many to check each by hand. Is there a scriptual way to have IM report on the presence of errors in them?

Any hints/tips/suggestions would be greatly appreciated.

Regards,

George...
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Can IM report on images with errors in their formatting?

Post by snibgo »

convert infile NULL:

returns 0 on success, 1 on failure.
snibgo's IM pages: im.snibgo.com
grgoffe
Posts: 3
Joined: 2010-04-02T00:00:28-07:00
Authentication code: 8675308

Re: Can IM report on images with errors in their formatting?

Post by grgoffe »

snibgo

You are a GENIUS! It works perfectly.

Thank you VERY much for your help.

Regards,

George...
Post Reply