Can preview but not display corrupt JPEG

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
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Can preview but not display corrupt JPEG

Post by Bonzo »

I think the preview you see is the EXIF thumbnail not the original image.
pkashrai

Re: Can preview but not display corrupt JPEG

Post by pkashrai »

Hi,
I tried with your image but it looks corrupted to imagemagick..So U R unable to get displayed this image..Try the command below for yourself and test :

Code: Select all

-> identify -regard-warnings  img.jpg
-> echo $?
you will get returned 1 which means error/image corrupted which imagemagick can't read.

With Regards,
Prakash Rai
Post Reply