Animated GIF can't be opened
Posted: 2013-07-24T14:25:39-07:00
We have 2 animated GIFs:
https://docs.google.com/file/d/0B9AgH7L ... sp=sharing
https://docs.google.com/file/d/0B9AgH7L ... sp=sharing
This GIFs are correct but can't be opened in ImageMagic. It throws the following exception:
https://docs.google.com/file/d/0B9AgH7L ... sp=sharing
https://docs.google.com/file/d/0B9AgH7L ... sp=sharing
This GIFs are correct but can't be opened in ImageMagic. It throws the following exception:
Code: Select all
$ ./convert /tmp/1.gif -debug All -resize 500x200 /tmp/res.gif
2013-07-25T01:28:52+04:00 0:00.000 0.000u 6.8.5 Configure lt-convert[12697]: utility.c/ExpandFilenames/941/Configure
Command line: /tmp/ImageMagick-6.8.6/utilities/.libs/lt-convert {/tmp/1.gif} {-debug} {All} {-resize} {500x200} {/tmp/res.gif}
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Policy lt-convert[12697]: policy.c/IsRightsAuthorized/485/Policy
Domain: Path; rights=Read; pattern="/tmp/1.gif" ...
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Blob lt-convert[12697]: blob.c/OpenBlob/2536/Blob
read 3 magic header bytes
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Cache lt-convert[12697]: cache.c/DestroyPixelCache/933/Cache
destroy
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Configure lt-convert[12697]: configure.c/GetConfigureOptions/589/Configure
Searching for configure file: "/usr/local/share/ImageMagick-6/magic.xml"
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Configure lt-convert[12697]: configure.c/GetConfigureOptions/589/Configure
Searching for configure file: "/usr/local/lib/ImageMagick-6.8.5//config-Q16/magic.xml"
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Configure lt-convert[12697]: configure.c/GetConfigureOptions/589/Configure
Searching for configure file: "/usr/local/etc/ImageMagick-6/magic.xml"
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Configure lt-convert[12697]: configure.c/GetConfigureOptions/589/Configure
Searching for configure file: "/usr/local/share/doc/ImageMagick-6/magic.xml"
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Configure lt-convert[12697]: configure.c/GetConfigureOptions/589/Configure
Searching for configure file: "/tmp/.magick/magic.xml"
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Exception lt-convert[12697]: configure.c/GetConfigureOptions/616/Exception
UnableToOpenConfigureFile `magic.xml'
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Policy lt-convert[12697]: policy.c/IsRightsAuthorized/485/Policy
Domain: Coder; rights=Read; pattern="GIF" ...
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Policy lt-convert[12697]: policy.c/IsRightsAuthorized/485/Policy
Domain: Path; rights=Read; pattern="/tmp/1.gif" ...
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Blob lt-convert[12697]: blob.c/OpenBlob/2536/Blob
read 3 magic header bytes
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Resource lt-convert[12697]: resource.c/AcquireMagickResource/278/Resource
Area: 11.2KB/11.2KB/8.0037GB
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Resource lt-convert[12697]: resource.c/AcquireMagickResource/278/Resource
Memory: 11.2KB/11KiB/3.727GiB
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Cache lt-convert[12697]: cache.c/OpenPixelCache/3548/Cache
open /tmp/1.gif[0] (Heap Memory, 45x25 11KiB)
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Resource lt-convert[12697]: resource.c/AcquireMagickResource/278/Resource
Area: 280B/280B/8.0037GB
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Resource lt-convert[12697]: resource.c/AcquireMagickResource/278/Resource
Memory: 280B/11.3KiB/3.727GiB
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Cache lt-convert[12697]: cache.c/OpenPixelCache/3548/Cache
open /tmp/1.gif[1] (Heap Memory, 7x4 280B)
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Exception lt-convert[12697]: cache.c/QueueAuthenticPixelCacheNexus/3927/Exception
PixelsAreNotAuthentic `/tmp/1.gif'
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Exception lt-convert[12697]: gif.c/DecodeImage/508/Exception
CorruptImage `/tmp/1.gif'
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Exception lt-convert[12697]: gif.c/ReadGIFImage/1365/Exception
CorruptImage `/tmp/1.gif'
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Cache lt-convert[12697]: cache.c/DestroyPixelCache/933/Cache
destroy /tmp/1.gif[1]
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Resource lt-convert[12697]: resource.c/RelinquishMagickResource/851/Resource
Memory: 280B/11KiB/3.727GiB
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Cache lt-convert[12697]: cache.c/DestroyPixelCache/933/Cache
destroy /tmp/1.gif[0]
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Resource lt-convert[12697]: resource.c/RelinquishMagickResource/851/Resource
Memory: 11.2KB/0B/3.727GiB
2013-07-25T01:28:52+04:00 0:00.010 0.000u 6.8.5 Exception lt-convert[12697]: convert.c/ConvertImageCommand/3106/Exception
NoImagesDefined `/tmp/res.gif'
lt-convert: CorruptImage `/tmp/1.gif' @ error/gif.c/ReadGIFImage/1365.
lt-convert: NoImagesDefined `/tmp/res.gif' @ error/convert.c/ConvertImageCommand/3106.