Re: Corrupted image
Bob Friesenhahn <[email protected]> Wed, 31 Aug 2005 14:10:07 -0500 (CDT)
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 31 Aug 2005, [iso-8859-2] Micha³ Kowalczuk wrote: > Is there any way to open and scale corrupted image such as: > http://nabuchodonozor.ds.pg.gda.pl/~sammael/corrupted.gif > (of course I realize, that scaled image will be somehow distorted) > This image can be opened in almost every image viewer, but GraphicsMagick > fails with description "Corrupted image". GraphicsMagick does its best to detect corrupted images and return an error to the user. If it did not do this, then it could be used to accidentally convert many corrupted images into legal images. Then the problem would be multiplied. Software which ignores truncated image file errors may be susceptible to "bomb" images which intentionally claim to be very large, but which are actually mostly just a file header. Bob ====================================== Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/