[GM-help] GraphicsMagick identify/convert rejects certain types of animated gifs accepted by ImageM
Swiss army knife of image processing
Brought to you by:
bfriesen
From: Steve S. <st...@tu...> - 2012-08-18 20:43:26
|
Hey there! We're working on replacing an ImageMagick deployment with the latest release version of GraphicsMagick (1.3.16), and I wanted to shoot a message out to this group to see if anyone's ever run into an issue that we're running into out here. We're finding that there are certain types of animated gifs which can be identified and resized by ImageMagick that are rejected by GraphicsMagick as corrupt. From a bit of debugging, it looks as if the following lines in coders/gif.c are triggering a return status of MagickFail to be set: coders/gif.c, line 279 (triggers occasionally): if (available > MaxStackSize) { status=MagickFail; break; } coders/gif.c, line 355 (triggers each time): if (x < (long) image->columns) { status=MagickFail; break; } note: in the images I've tried, this always seems to be triggered when the y variable == 30 Examples of animated GIFs which will cause this behavior to present: http://25.media.tumblr.com/tumblr_m7ffwube5L1r6h3oxo1_500.gif --------------- ImageMagick output: -bash-3.2$ curl http://25.media.tumblr.com/tumblr_m7ffwube5L1r6h3oxo1_500.gif | identify -debug All - 2012-08-18T15:50:38-04:00 0:01 0.000u 6.5.4 Configure identify[10843]: utility.c/ExpandFilenames/866/Configure Command line: identify {-debug} {All} {-} 2012-08-18T15:50:38-04:00 0:01 0.000u 6.5.4 Policy identify[10843]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="-" ... 2012-08-18T15:50:38-04:00 0:01 0.000u 6.5.4 Resource identify[10843]: resource.c/AcquireUniqueFileResource/436/Resource % Total % Received 2012-08-18T15:50:38-04:00 0:01 0.000u 6.5.4 Resource identify[10843]: resource.c/AcquireUniqueFileResource/467/Resource /tmp/magick-XXGgrQvb % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 707k 100 707k 0 0 401k 0 0:00:01 0:00:01 --:--:-- 402k 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Policy identify[10843]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="/tmp/magick-XXGgrQvb" ... 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Blob identify[10843]: blob.c/OpenBlob/2407/Blob read 3 magic header bytes 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/config/magic.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/lib/ImageMagick-6.5.4/config/magic.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.4/magic.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/magic.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/home/steve/.magick/magic.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "magic.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: magic.c/LoadMagicList/682/Configure Loading magic configure file "/usr/local/share/ImageMagick-6.5.4/config/magic.xml" ... 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/config/coder.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/lib/ImageMagick-6.5.4/config/coder.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.4/coder.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/coder.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/home/steve/.magick/coder.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "coder.xml" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Configure identify[10843]: coder.c/LoadCoderList/639/Configure Loading coder configuration file "/usr/local/share/ImageMagick-6.5.4/config/coder.xml" ... 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Module identify[10843]: module.c/OpenModule/1154/Module Searching for module "GIF" using filename "gif.la" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Module identify[10843]: module.c/GetMagickModulePath/549/Module Searching for coder module file "gif.la" ... 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Module identify[10843]: module.c/OpenModule/1163/Module Opening module at path "/usr/local/lib/ImageMagick-6.5.4/modules-Q16/coders/gif.la" 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Module identify[10843]: module.c/OpenModule/1190/Module Method "RegisterGIFImage" in module "GIF" at address 0x2b3e72a258a0 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Module identify[10843]: module.c/OpenModule/1204/Module Method "UnregisterGIFImage" in module "GIF" at address 0x2b3e72a25880 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Policy identify[10843]: policy.c/IsRightsAuthorized/520/Policy Domain: Coder; rights=Read; pattern="GIF" ... 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Policy identify[10843]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="/tmp/magick-XXGgrQvb" ... 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Blob identify[10843]: blob.c/OpenBlob/2407/Blob read 3 magic header bytes 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Resource identify[10843]: resource.c/RelinquishUniqueFileResource/990/Resource /tmp/magick-XXGgrQvb 2012-08-18T15:50:39-04:00 0:03 0.000u 6.5.4 Cache identify[10843]: cache.c/DestroyPixelCacheInfo/1460/Cache destroy -=>/tmp/magick-XXGgrQvb[0] GIF 500x280 500x280+0+0 8-bit PseudoClass 256c 708kb -=>/tmp/magick-XXGgrQvb[1] GIF 500x280 500x280+0+0 8-bit PseudoClass 256c 708kb -=>/tmp/magick-XXGgrQvb[2] GIF 500x280 500x280+0+0 8-bit PseudoClass 256c 708kb -=>/tmp/magick-XXGgrQvb[3] GIF 500x280 500x280+0+0 8-bit PseudoClass 256c 708kb -=>/tmp/magick-XXGgrQvb[4] GIF 500x280 500x280+0+0 8-bit PseudoClass 256c 708kb -=>/tmp/magick-XXGgrQvb[5] GIF 500x279 500x280+0+1 8-bit PseudoClass 256c 708kb -=>/tmp/magick-XXGgrQvb[6] GIF 500x280 500x280+0+0 8-bit PseudoClass 256c 708kb -=>/tmp/magick-XXGgrQvb[7] GIF 500x280 500x280+0+0 8-bit PseudoClass 256c 708kb -=>/tmp/magick-XXGgrQvb[8] GIF 500x280 500x280+0+0 8-bit PseudoClass 256c 708kb -=>/tmp/magick-XXGgrQvb[9] GIF 500x280 500x280+0+0 8-bit PseudoClass 256c 708kb GraphicsMagick output: -bash-3.2$ curl http://25.media.tumblr.com/tumblr_m7ffwube5L1r6h3oxo1_500.gif | gm identify -debug all - 15:40:33 0:01 0.000u 10114 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0xaafc070 using ReadBinary mode ... 15:40:33 0:01 0.000u 10114 blob.c/OpenBlob/2537/Blob: using stdin as StandardStream blob 0x0xaafdb08 15:40:33 0:01 0.000u 10114 tempfile.c/AddTemporaryFileToList/60/TemporaryFile: Allocating temporary file "/tmp/gmvFNELx" 15:40:33 0:01 0.000u 10114 blob.c/ImageToFile/2196/Blob: Copying from Blob stream to file /tmp/gmvFNELx % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 707k 100 707k 0 0 13.9M 0 --:--:-- --:--:-- --:--:-- 15.0M 15:40:33 0:01 0.000u 10114 blob.c/CloseBlob/936/Blob: Closing StandardStream blob 0xaafdb08 15:40:33 0:01 0.000u 10114 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0xaafc070 using ReadBinary mode ... 15:40:33 0:01 0.000u 10114 blob.c/OpenBlob/2683/Blob: I/O buffer set to 16384 bytes 15:40:33 0:01 0.000u 10114 blob.c/OpenBlob/2703/Blob: opened file "/tmp/gmvFNELx" as FileStream blob 0x0xaafdb08 15:40:33 0:01 0.000u 10114 blob.c/OpenBlob/2716/Blob: read 2053 magic header bytes 15:40:33 0:01 0.000u 10114 blob.c/CloseBlob/936/Blob: Closing FileStream blob 0xaafdb08 15:40:33 0:01 0.000u 10114 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:40:33 0:01 0.000u 10114 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xaafc070, filename="/tmp/gmvFNELx" 15:40:33 0:01 0.000u 10114 constitute.c/ReadImage/1478/Blob: Magick=GIF, Filename=/tmp/gmvFNELx 15:40:33 0:01 0.000u 10114 module.c/OpenModule/1447/Configure: Searching for module "GIF" using file name "gif.la" 15:40:33 0:01 0.000u 10114 module.c/FindMagickModule/672/Configure: Searching for coder module file "gif.la" ... 15:40:33 0:01 0.000u 10114 module.c/FindMagickModule/706/Configure: Searching for module file "gif.la" in path "/usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/" 15:40:33 0:01 0.000u 10114 utility.c/IsAccessible/2845/Configure: Found: /usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/gif.la 15:40:33 0:01 0.000u 10114 module.c/OpenModule/1469/Configure: Opening module at path "/usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/gif.la" ... 15:40:33 0:01 0.000u 10114 module.c/OpenModule/1505/Configure: Function "RegisterGIFImage" in module "GIF" at address 0x2ae9141c4340 15:40:33 0:01 0.000u 10114 module.c/OpenModule/1522/Configure: Function "UnregisterGIFImage" in module "GIF" at address 0x2ae9141c4320 15:40:33 0:01 0.000u 10114 constitute.c/ReadImage/1590/Coder: Invoking "GIF" decoder (CompuServe graphics interchange format) subimage=0 subrange=0 15:40:33 0:01 0.000u 10114 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0xaafc990 using ReadBinary mode ... 15:40:33 0:01 0.000u 10114 blob.c/OpenBlob/2683/Blob: I/O buffer set to 16384 bytes 15:40:33 0:01 0.000u 10114 blob.c/OpenBlob/2703/Blob: opened file "/tmp/gmvFNELx" as FileStream blob 0x0xaafe428 15:40:33 0:01 0.000u 10114 blob.c/OpenBlob/2716/Blob: read 2053 magic header bytes 15:40:33 0:01 0.000u 10114 gif.c/DecodeImage/377/CorruptImage: Corrupt image (/tmp/gmvFNELx) 15:40:33 0:01 0.000u 10114 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xab02560, filename="/tmp/gmvFNELx" 15:40:33 0:01 0.000u 10114 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmvFNELx) 15:40:33 0:01 0.000u 10114 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xab07400, filename="/tmp/gmvFNELx" 15:40:33 0:01 0.000u 10114 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmvFNELx) 15:40:33 0:01 0.000u 10114 blob.c/CloseBlob/936/Blob: Closing FileStream blob 0xaafe428 15:40:33 0:01 0.000u 10114 constitute.c/ReadImage/1601/Coder: Returned from "GIF" decoder: cache=present monochrome=False grayscale=False class=PseudoClass colorspace=RGB 15:40:33 0:01 0.000u 10114 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache /tmp/gmvFNELx[0] 15:40:33 0:01 0.000u 10114 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xaafc990, filename="/tmp/gmvFNELx" 15:40:33 0:01 0.000u 10114 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:40:33 0:01 0.000u 10114 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xab02560, filename="/tmp/gmvFNELx" 15:40:33 0:01 0.000u 10114 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:40:33 0:01 0.000u 10114 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xab07400, filename="/tmp/gmvFNELx" 15:40:33 0:01 0.000u 10114 tempfile.c/RemoveTemporaryFileFromList/93/TemporaryFile: Deallocating temporary file "/tmp/gmvFNELx" gm identify: Corrupt image (/tmp/gmvFNELx). 15:40:33 0:01 0.000u 10114 command.c/IdentifyImageCommand/8128/Option: Request did not return an image gm identify: Request did not return an image. 15:40:33 0:01 0.000u 10114 magick.c/DestroyMagick/169/Configure: Destroy Magick 15:40:33 0:01 0.000u 10114 module.c/UnloadModule/2180/Configure: Unloading "GIF" module ... http://25.media.tumblr.com/tumblr_m8csmbf7tJ1rwft1ao1_r1_500.gif --------------- ImageMagick output: -bash-3.2$ curl http://25.media.tumblr.com/tumblr_m8csmbf7tJ1rwft1ao1_r1_500.gif | identify -debug All - 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: utility.c/ExpandFilenames/866/Configure Command line: identify {-debug} {All} {-} 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Policy identify[10841]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="-" ... 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Resource identify[10841]: resource.c/AcquireUniqueFileResource/436/Resource 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Resource identify[10841]: resource.c/AcquireUniqueFileResource/467/Resource /tmp/magick-XXXMQVni % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 186k 100 186k 0 0 4993k 0 --:--:-- --:--:-- --:--:-- 5484k 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Policy identify[10841]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="/tmp/magick-XXXMQVni" ... 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Blob identify[10841]: blob.c/OpenBlob/2407/Blob read 3 magic header bytes 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/config/magic.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/lib/ImageMagick-6.5.4/config/magic.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.4/magic.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/magic.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/home/steve/.magick/magic.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "magic.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: magic.c/LoadMagicList/682/Configure Loading magic configure file "/usr/local/share/ImageMagick-6.5.4/config/magic.xml" ... 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/config/coder.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/lib/ImageMagick-6.5.4/config/coder.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.4/coder.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/coder.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/home/steve/.magick/coder.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "coder.xml" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Configure identify[10841]: coder.c/LoadCoderList/639/Configure Loading coder configuration file "/usr/local/share/ImageMagick-6.5.4/config/coder.xml" ... 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Module identify[10841]: module.c/OpenModule/1154/Module Searching for module "GIF" using filename "gif.la" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Module identify[10841]: module.c/GetMagickModulePath/549/Module Searching for coder module file "gif.la" ... 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Module identify[10841]: module.c/OpenModule/1163/Module Opening module at path "/usr/local/lib/ImageMagick-6.5.4/modules-Q16/coders/gif.la" 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Module identify[10841]: module.c/OpenModule/1190/Module Method "RegisterGIFImage" in module "GIF" at address 0x2b16bde748a0 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Module identify[10841]: module.c/OpenModule/1204/Module Method "UnregisterGIFImage" in module "GIF" at address 0x2b16bde74880 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Policy identify[10841]: policy.c/IsRightsAuthorized/520/Policy Domain: Coder; rights=Read; pattern="GIF" ... 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Policy identify[10841]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="/tmp/magick-XXXMQVni" ... 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Blob identify[10841]: blob.c/OpenBlob/2407/Blob read 3 magic header bytes 2012-08-18T15:50:04-04:00 0:01 0.000u 6.5.4 Resource identify[10841]: resource.c/RelinquishUniqueFileResource/990/Resource /tmp/magick-XXXMQVni 2012-08-18T15:50:04-04:00 0:01 0.010u 6.5.4 Cache identify[10841]: cache.c/DestroyPixelCacheInfo/1460/Cache destroy -=>/tmp/magick-XXXMQVni[0] GIF 500x150 500x150+0+0 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[1] GIF 471x119 500x150+12+18 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[2] GIF 470x119 500x150+12+18 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[3] GIF 471x119 500x150+12+18 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[4] GIF 469x118 500x150+14+19 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[5] GIF 470x118 500x150+13+19 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[6] GIF 470x118 500x150+13+19 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[7] GIF 469x118 500x150+14+19 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[8] GIF 471x119 500x150+12+18 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[9] GIF 470x119 500x150+12+18 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[10] GIF 471x119 500x150+12+18 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[11] GIF 444x119 500x150+39+18 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[12] GIF 471x119 500x150+12+18 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[13] GIF 467x118 500x150+16+19 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[14] GIF 460x118 500x150+22+19 8-bit PseudoClass 64c 186kb -=>/tmp/magick-XXXMQVni[15] GIF 500x150 500x150+0+0 8-bit PseudoClass 32c 186kb GraphicsMagick output: -bash-3.2$ curl http://25.media.tumblr.com/tumblr_m8csmbf7tJ1rwft1ao1_r1_500.gif | gm identify -debug all - 15:41:39 0:01 0.000u 10123 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0x3f08070 using ReadBinary mode ... 15:41:39 0:01 0.000u 10123 blob.c/OpenBlob/2537/Blob: using stdin as StandardStream blob 0x0x3f09b08 15:41:39 0:01 0.000u 10123 tempfile.c/AddTemporaryFileToList/60/TemporaryFile: Allocating temporary file "/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 blob.c/ImageToFile/2196/Blob: Copying from Blob stream to file /tmp/gmkgwbZa % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 186k 100 186k 0 0 7871k 0 --:--:-- --:--:-- --:--:-- 9324k 15:41:39 0:01 0.000u 10123 blob.c/CloseBlob/936/Blob: Closing StandardStream blob 0x3f09b08 15:41:39 0:01 0.000u 10123 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0x3f08070 using ReadBinary mode ... 15:41:39 0:01 0.000u 10123 blob.c/OpenBlob/2683/Blob: I/O buffer set to 16384 bytes 15:41:39 0:01 0.000u 10123 blob.c/OpenBlob/2703/Blob: opened file "/tmp/gmkgwbZa" as FileStream blob 0x0x3f09b08 15:41:39 0:01 0.000u 10123 blob.c/OpenBlob/2716/Blob: read 2053 magic header bytes 15:41:39 0:01 0.000u 10123 blob.c/CloseBlob/936/Blob: Closing FileStream blob 0x3f09b08 15:41:39 0:01 0.000u 10123 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f08070, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 constitute.c/ReadImage/1478/Blob: Magick=GIF, Filename=/tmp/gmkgwbZa 15:41:39 0:01 0.000u 10123 module.c/OpenModule/1447/Configure: Searching for module "GIF" using file name "gif.la" 15:41:39 0:01 0.000u 10123 module.c/FindMagickModule/672/Configure: Searching for coder module file "gif.la" ... 15:41:39 0:01 0.000u 10123 module.c/FindMagickModule/706/Configure: Searching for module file "gif.la" in path "/usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/" 15:41:39 0:01 0.000u 10123 utility.c/IsAccessible/2845/Configure: Found: /usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/gif.la 15:41:39 0:01 0.000u 10123 module.c/OpenModule/1469/Configure: Opening module at path "/usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/gif.la" ... 15:41:39 0:01 0.000u 10123 module.c/OpenModule/1505/Configure: Function "RegisterGIFImage" in module "GIF" at address 0x2b04d1b14340 15:41:39 0:01 0.000u 10123 module.c/OpenModule/1522/Configure: Function "UnregisterGIFImage" in module "GIF" at address 0x2b04d1b14320 15:41:39 0:01 0.000u 10123 constitute.c/ReadImage/1590/Coder: Invoking "GIF" decoder (CompuServe graphics interchange format) subimage=0 subrange=0 15:41:39 0:01 0.000u 10123 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0x3f08990 using ReadBinary mode ... 15:41:39 0:01 0.000u 10123 blob.c/OpenBlob/2683/Blob: I/O buffer set to 16384 bytes 15:41:39 0:01 0.000u 10123 blob.c/OpenBlob/2703/Blob: opened file "/tmp/gmkgwbZa" as FileStream blob 0x0x3f0a428 15:41:39 0:01 0.000u 10123 blob.c/OpenBlob/2716/Blob: read 2053 magic header bytes 15:41:39 0:01 0.000u 10123 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmkgwbZa) 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f0e320, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmkgwbZa) 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f12480, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmkgwbZa) 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f16550, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmkgwbZa) 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f1a620, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmkgwbZa) 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f1e6f0, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmkgwbZa) 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f227c0, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 gif.c/DecodeImage/377/CorruptImage: Corrupt image (/tmp/gmkgwbZa) 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f26890, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmkgwbZa) 15:41:39 0:01 0.000u 10123 blob.c/CloseBlob/936/Blob: Closing FileStream blob 0x3f0a428 15:41:39 0:01 0.000u 10123 constitute.c/ReadImage/1601/Coder: Returned from "GIF" decoder: cache=missing monochrome=True grayscale=True class=PseudoClass colorspace=RGB 15:41:39 0:01 0.000u 10123 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f08990, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f0e320, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f12480, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f16550, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f1a620, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f1e6f0, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache /tmp/gmkgwbZa[6] 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f227c0, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:41:39 0:01 0.000u 10123 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0x3f26890, filename="/tmp/gmkgwbZa" 15:41:39 0:01 0.000u 10123 tempfile.c/RemoveTemporaryFileFromList/93/TemporaryFile: Deallocating temporary file "/tmp/gmkgwbZa" gm identify: Corrupt image (/tmp/gmkgwbZa). 15:41:39 0:01 0.000u 10123 command.c/IdentifyImageCommand/8128/Option: Request did not return an image gm identify: Request did not return an image. 15:41:39 0:01 0.000u 10123 magick.c/DestroyMagick/169/Configure: Destroy Magick 15:41:39 0:01 0.000u 10123 module.c/UnloadModule/2180/Configure: Unloading "GIF" module ... http://25.media.tumblr.com/tumblr_m8vszubrlL1rb3bp6o1_400.gif --------------- ImageMagick output: -bash-3.2$ curl http://25.media.tumblr.com/tumblr_m8vszubrlL1rb3bp6o1_400.gif | identify -debug All - 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: utility.c/ExpandFilenames/866/Configure Command line: identify {-debug} {All} {-} 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Policy identify[10204]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="-" ... 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Resource identify[10204]: resource.c/AcquireUniqueFileResource/436/Resource 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Resource identify[10204]: resource.c/AcquireUniqueFileResource/467/Resource /tmp/magick-XXYYXc3L % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 124k 100 124k 0 0 4494k 0 --:--:-- --:--:-- --:--:-- 5202k 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Policy identify[10204]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="/tmp/magick-XXYYXc3L" ... 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Blob identify[10204]: blob.c/OpenBlob/2407/Blob read 3 magic header bytes 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/config/magic.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/lib/ImageMagick-6.5.4/config/magic.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.4/magic.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/magic.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/home/steve/.magick/magic.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "magic.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: magic.c/LoadMagicList/682/Configure Loading magic configure file "/usr/local/share/ImageMagick-6.5.4/config/magic.xml" ... 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/config/coder.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/lib/ImageMagick-6.5.4/config/coder.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.4/coder.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/coder.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/home/steve/.magick/coder.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "coder.xml" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Configure identify[10204]: coder.c/LoadCoderList/639/Configure Loading coder configuration file "/usr/local/share/ImageMagick-6.5.4/config/coder.xml" ... 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Module identify[10204]: module.c/OpenModule/1154/Module Searching for module "GIF" using filename "gif.la" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Module identify[10204]: module.c/GetMagickModulePath/549/Module Searching for coder module file "gif.la" ... 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Module identify[10204]: module.c/OpenModule/1163/Module Opening module at path "/usr/local/lib/ImageMagick-6.5.4/modules-Q16/coders/gif.la" 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Module identify[10204]: module.c/OpenModule/1190/Module Method "RegisterGIFImage" in module "GIF" at address 0x2b732e8aa8a0 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Module identify[10204]: module.c/OpenModule/1204/Module Method "UnregisterGIFImage" in module "GIF" at address 0x2b732e8aa880 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Policy identify[10204]: policy.c/IsRightsAuthorized/520/Policy Domain: Coder; rights=Read; pattern="GIF" ... 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Policy identify[10204]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="/tmp/magick-XXYYXc3L" ... 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Blob identify[10204]: blob.c/OpenBlob/2407/Blob read 3 magic header bytes 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Resource identify[10204]: resource.c/RelinquishUniqueFileResource/990/Resource /tmp/magick-XXYYXc3L 2012-08-18T15:48:45-04:00 0:01 0.000u 6.5.4 Cache identify[10204]: cache.c/DestroyPixelCacheInfo/1460/Cache destroy -=>/tmp/magick-XXYYXc3L[0] GIF 280x498 280x498+0+0 8-bit PseudoClass 128c 125kb -=>/tmp/magick-XXYYXc3L[1] GIF 179x103 280x498+56+85 8-bit PseudoClass 128c 125kb -=>/tmp/magick-XXYYXc3L[2] GIF 178x104 280x498+56+85 8-bit PseudoClass 128c 125kb -=>/tmp/magick-XXYYXc3L[3] GIF 177x104 280x498+57+84 8-bit PseudoClass 128c 125kb -=>/tmp/magick-XXYYXc3L[4] GIF 179x105 280x498+56+84 8-bit PseudoClass 128c 125kb -=>/tmp/magick-XXYYXc3L[5] GIF 178x104 280x498+56+84 8-bit PseudoClass 128c 125kb -=>/tmp/magick-XXYYXc3L[6] GIF 178x104 280x498+56+84 8-bit PseudoClass 128c 125kb -=>/tmp/magick-XXYYXc3L[7] GIF 179x105 280x498+56+84 8-bit PseudoClass 128c 125kb -=>/tmp/magick-XXYYXc3L[8] GIF 177x104 280x498+57+84 8-bit PseudoClass 128c 125kb -=>/tmp/magick-XXYYXc3L[9] GIF 178x104 280x498+56+85 8-bit PseudoClass 128c 125kb GraphicsMagick output: -bash-3.2$ curl http://25.media.tumblr.com/tumblr_m8vszubrlL1rb3bp6o1_400.gif | gm identify -debug all - 15:45:53 0:01 0.000u 10176 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0xa375070 using ReadBinary mode ... 15:45:53 0:01 0.000u 10176 blob.c /OpenBlob/% Tot2537/Blob:al % R using stdin as StandardStream blob 0x0xa376b08 eceived % Xferd Average Speed Time T15:45:53 im0:01 e 0.000u 10176 tempfile.c/ AddTemporaryFileToList T/60/imTemporaryFile: e Allocating temporary file "/tmp/gm9ZzlP4" Current 15:45:53 0:01 0.000u 10176 blob.c/ImageToFile /2196 / Blob: Copying from Blob stream to file /tmp/gm9ZzlP4 Dload Upload Total Spent Left Speed 100 124k 100 124k 0 0 6940k 0 --:--:-- --:--:-- --:--:-- 8918k 15:45:53 0:01 0.000u 10176 blob.c/CloseBlob/936/Blob: Closing StandardStream blob 0xa376b08 15:45:53 0:01 0.000u 10176 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0xa375070 using ReadBinary mode ... 15:45:53 0:01 0.000u 10176 blob.c/OpenBlob/2683/Blob: I/O buffer set to 16384 bytes 15:45:53 0:01 0.000u 10176 blob.c/OpenBlob/2703/Blob: opened file "/tmp/gm9ZzlP4" as FileStream blob 0x0xa376b08 15:45:53 0:01 0.000u 10176 blob.c/OpenBlob/2716/Blob: read 2053 magic header bytes 15:45:53 0:01 0.000u 10176 blob.c/CloseBlob/936/Blob: Closing FileStream blob 0xa376b08 15:45:53 0:01 0.000u 10176 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 15:45:53 0:01 0.000u 10176 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xa375070, filename="/tmp/gm9ZzlP4" 15:45:53 0:01 0.000u 10176 constitute.c/ReadImage/1478/Blob: Magick=GIF, Filename=/tmp/gm9ZzlP4 15:45:53 0:01 0.000u 10176 module.c/OpenModule/1447/Configure: Searching for module "GIF" using file name "gif.la" 15:45:53 0:01 0.000u 10176 module.c/FindMagickModule/672/Configure: Searching for coder module file "gif.la" ... 15:45:53 0:01 0.000u 10176 module.c/FindMagickModule/706/Configure: Searching for module file "gif.la" in path "/usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/" 15:45:53 0:01 0.000u 10176 utility.c/IsAccessible/2845/Configure: Found: /usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/gif.la 15:45:53 0:01 0.000u 10176 module.c/OpenModule/1469/Configure: Opening module at path "/usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/gif.la" ... 15:45:53 0:01 0.000u 10176 module.c/OpenModule/1505/Configure: Function "RegisterGIFImage" in module "GIF" at address 0x2b68b5d70340 15:45:53 0:01 0.000u 10176 module.c/OpenModule/1522/Configure: Function "UnregisterGIFImage" in module "GIF" at address 0x2b68b5d70320 15:45:53 0:01 0.000u 10176 constitute.c/ReadImage/1590/Coder: Invoking "GIF" decoder (CompuServe graphics interchange format) subimage=0 subrange=0 15:45:53 0:01 0.000u 10176 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0xa375990 using ReadBinary mode ... 15:45:53 0:01 0.000u 10176 blob.c/OpenBlob/2683/Blob: I/O buffer set to 16384 bytes 15:45:53 0:01 0.000u 10176 blob.c/OpenBlob/2703/Blob: opened file "/tmp/gm9ZzlP4" as FileStream blob 0x0xa377428 15:45:53 0:01 0.000u 10176 blob.c/OpenBlob/2716/Blob: read 2053 magic header bytes 15:45:53 0:01 0.000u 10176 gif.c/DecodeImage/377/CorruptImage: Corrupt image (/tmp/gm9ZzlP4) 15:45:53 0:01 0.000u 10176 blob.c/CloseBlob/936/Blob: Closing FileStream blob 0xa377428 15:45:53 0:01 0.000u 10176 constitute.c/ReadImage/1601/Coder: Returned from "GIF" decoder: cache=present monochrome=False grayscale=False class=PseudoClass colorspace=RGB 15:45:53 0:01 0.000u 10176 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache /tmp/gm9ZzlP4[0] 15:45:53 0:01 0.000u 10176 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xa375990, filename="/tmp/gm9ZzlP4" 15:45:53 0:01 0.000u 10176 tempfile.c/RemoveTemporaryFileFromList/93/TemporaryFile: Deallocating temporary file "/tmp/gm9ZzlP4" /usr/bin/gm identify: Corrupt image (/tmp/gm9ZzlP4). 15:45:53 0:01 0.000u 10176 command.c/IdentifyImageCommand/8128/Option: Request did not return an image /usr/bin/gm identify: Request did not return an image. 15:45:53 0:01 0.000u 10176 magick.c/DestroyMagick/169/Configure: Destroy Magick 15:45:53 0:01 0.000u 10176 module.c/UnloadModule/2180/Configure: Unloading "GIF" module ... http://25.media.tumblr.com/tumblr_m6v3bdfSbJ1qgepq0o1_500.gif --------------- ImageMagick output: -bash-3.2$ curl http://25.media.tumblr.com/tumblr_m6v3bdfSbJ1qgepq0o1_500.gif | identify -debug All - 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: utility.c/ExpandFilenames/866/Configure Command line: identify {-debug} {All} {-} 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Policy identify[11032]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="-" ... 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Resource identify[11032]: resource.c/AcquireUniqueFileResource/436/Resource 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Resource identify[11032]: resource.c/AcquireUniqueFileResource/467/Resource /tmp/magick-XXA1P1Uq % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 245k 100 245k 0 0 10.0M 0 --:--:-- --:--:-- --:--:-- 11.9M 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Policy identify[11032]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="/tmp/magick-XXA1P1Uq" ... 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Blob identify[11032]: blob.c/OpenBlob/2407/Blob read 3 magic header bytes 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/config/magic.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/lib/ImageMagick-6.5.4/config/magic.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.4/magic.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/magic.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/home/steve/.magick/magic.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "magic.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: magic.c/LoadMagicList/682/Configure Loading magic configure file "/usr/local/share/ImageMagick-6.5.4/config/magic.xml" ... 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/config/coder.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/lib/ImageMagick-6.5.4/config/coder.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/doc/ImageMagick-6.5.4/coder.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/usr/local/share/ImageMagick-6.5.4/coder.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "/home/steve/.magick/coder.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: configure.c/GetConfigureOptions/528/Configure Searching for configure file: "coder.xml" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Configure identify[11032]: coder.c/LoadCoderList/639/Configure Loading coder configuration file "/usr/local/share/ImageMagick-6.5.4/config/coder.xml" ... 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Module identify[11032]: module.c/OpenModule/1154/Module Searching for module "GIF" using filename "gif.la" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Module identify[11032]: module.c/GetMagickModulePath/549/Module Searching for coder module file "gif.la" ... 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Module identify[11032]: module.c/OpenModule/1163/Module Opening module at path "/usr/local/lib/ImageMagick-6.5.4/modules-Q16/coders/gif.la" 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Module identify[11032]: module.c/OpenModule/1190/Module Method "RegisterGIFImage" in module "GIF" at address 0x2b9e9de9a8a0 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Module identify[11032]: module.c/OpenModule/1204/Module Method "UnregisterGIFImage" in module "GIF" at address 0x2b9e9de9a880 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Policy identify[11032]: policy.c/IsRightsAuthorized/520/Policy Domain: Coder; rights=Read; pattern="GIF" ... 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Policy identify[11032]: policy.c/IsRightsAuthorized/520/Policy Domain: Path; rights=Read; pattern="/tmp/magick-XXA1P1Uq" ... 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Blob identify[11032]: blob.c/OpenBlob/2407/Blob read 3 magic header bytes 2012-08-18T16:05:18-04:00 0:01 0.000u 6.5.4 Resource identify[11032]: resource.c/RelinquishUniqueFileResource/990/Resource /tmp/magick-XXA1P1Uq 2012-08-18T16:05:18-04:00 0:01 0.010u 6.5.4 Cache identify[11032]: cache.c/DestroyPixelCacheInfo/1460/Cache destroy -=>/tmp/magick-XXA1P1Uq[0] GIF 500x381 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[1] GIF 500x322 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[2] GIF 500x324 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[3] GIF 500x329 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[4] GIF 500x329 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[5] GIF 492x331 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[6] GIF 500x331 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[7] GIF 500x330 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[8] GIF 497x334 500x381+3+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[9] GIF 496x348 500x381+4+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[10] GIF 500x351 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[11] GIF 344x381 500x381+156+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[12] GIF 343x381 500x381+156+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[13] GIF 295x381 500x381+162+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[14] GIF 336x381 500x381+164+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[15] GIF 341x381 500x381+10+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[16] GIF 500x381 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[17] GIF 500x381 500x381+0+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[18] GIF 352x329 500x381+20+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[19] GIF 304x236 500x381+54+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[20] GIF 406x218 500x381+94+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[21] GIF 454x207 500x381+46+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[22] GIF 424x245 500x381+76+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[23] GIF 441x275 500x381+59+0 8-bit PseudoClass 64c 245kb -=>/tmp/magick-XXA1P1Uq[24] GIF 500x381 500x381+0+0 8-bit PseudoClass 32c 245kb GraphicsMagick output: -bash-3.2$ curl http://25.media.tumblr.com/tumblr_m6v3bdfSbJ1qgepq0o1_500.gif | gm identify -debug all - 16:06:37 0:01 0.000u 11047 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0xaa63070 using ReadBinary mode ... 16:06:37 0:01 0.000u 11047 blob.c/OpenBlob/2537/Blob: using stdin as StandardStream blob 0x0xaa64b08 16:06:37 0:01 0.000u 11047 tempfile.c/AddTemporaryFileToList/60/TemporaryFile: Allocating temporary file "/tmp/gmKqkfVd" 16:06:37 0:01 0.000u 11047 blob.c/ImageToFile/2196/Blob: Copying from Blob stream to file /tmp/gmKqkfVd % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 245k 100 245k 0 0 9274k 0 --:--:-- --:--:-- --:--:-- 10.4M 16:06:37 0:01 0.000u 11047 blob.c/CloseBlob/936/Blob: Closing StandardStream blob 0xaa64b08 16:06:37 0:01 0.000u 11047 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0xaa63070 using ReadBinary mode ... 16:06:37 0:01 0.000u 11047 blob.c/OpenBlob/2683/Blob: I/O buffer set to 16384 bytes 16:06:37 0:01 0.000u 11047 blob.c/OpenBlob/2703/Blob: opened file "/tmp/gmKqkfVd" as FileStream blob 0x0xaa64b08 16:06:37 0:01 0.000u 11047 blob.c/OpenBlob/2716/Blob: read 2053 magic header bytes 16:06:37 0:01 0.000u 11047 blob.c/CloseBlob/936/Blob: Closing FileStream blob 0xaa64b08 16:06:37 0:01 0.000u 11047 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 16:06:37 0:01 0.000u 11047 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xaa63070, filename="/tmp/gmKqkfVd" 16:06:37 0:01 0.000u 11047 constitute.c/ReadImage/1478/Blob: Magick=GIF, Filename=/tmp/gmKqkfVd 16:06:37 0:01 0.000u 11047 module.c/OpenModule/1447/Configure: Searching for module "GIF" using file name "gif.la" 16:06:37 0:01 0.000u 11047 module.c/FindMagickModule/672/Configure: Searching for coder module file "gif.la" ... 16:06:37 0:01 0.000u 11047 module.c/FindMagickModule/706/Configure: Searching for module file "gif.la" in path "/usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/" 16:06:37 0:01 0.000u 11047 utility.c/IsAccessible/2845/Configure: Found: /usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/gif.la 16:06:37 0:01 0.000u 11047 module.c/OpenModule/1469/Configure: Opening module at path "/usr/lib64/GraphicsMagick-1.3.16/modules-Q8/coders/gif.la" ... 16:06:37 0:01 0.000u 11047 module.c/OpenModule/1505/Configure: Function "RegisterGIFImage" in module "GIF" at address 0x2adcb20c7340 16:06:37 0:01 0.000u 11047 module.c/OpenModule/1522/Configure: Function "UnregisterGIFImage" in module "GIF" at address 0x2adcb20c7320 16:06:37 0:01 0.000u 11047 constitute.c/ReadImage/1590/Coder: Invoking "GIF" decoder (CompuServe graphics interchange format) subimage=0 subrange=0 16:06:37 0:01 0.000u 11047 blob.c/OpenBlob/2501/Blob: Opening Blob for image 0x0xaa63990 using ReadBinary mode ... 16:06:37 0:01 0.000u 11047 blob.c/OpenBlob/2683/Blob: I/O buffer set to 16384 bytes 16:06:37 0:01 0.000u 11047 blob.c/OpenBlob/2703/Blob: opened file "/tmp/gmKqkfVd" as FileStream blob 0x0xaa65428 16:06:37 0:01 0.000u 11047 blob.c/OpenBlob/2716/Blob: read 2053 magic header bytes 16:06:37 0:01 0.000u 11047 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmKqkfVd) 16:06:37 0:01 0.000u 11047 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xaa69340, filename="/tmp/gmKqkfVd" 16:06:37 0:01 0.000u 11047 gif.c/DecodeImage/144/CorruptImage: Corrupt image (/tmp/gmKqkfVd) 16:06:37 0:01 0.000u 11047 blob.c/CloseBlob/936/Blob: Closing FileStream blob 0xaa65428 16:06:37 0:01 0.000u 11047 constitute.c/ReadImage/1601/Coder: Returned from "GIF" decoder: cache=missing monochrome=True grayscale=True class=PseudoClass colorspace=RGB 16:06:37 0:01 0.000u 11047 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 16:06:37 0:01 0.000u 11047 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xaa63990, filename="/tmp/gmKqkfVd" 16:06:37 0:01 0.000u 11047 pixel_cache.c/DestroyCacheInfo/1740/Cache: destroy cache 16:06:37 0:01 0.000u 11047 blob.c/DestroyBlob/1069/Blob: Destroy blob, image=0xaa69340, filename="/tmp/gmKqkfVd" 16:06:37 0:01 0.000u 11047 tempfile.c/RemoveTemporaryFileFromList/93/TemporaryFile: Deallocating temporary file "/tmp/gmKqkfVd" gm identify: Corrupt image (/tmp/gmKqkfVd). 16:06:37 0:01 0.000u 11047 command.c/IdentifyImageCommand/8128/Option: Request did not return an image gm identify: Request did not return an image. 16:06:37 0:01 0.000u 11047 magick.c/DestroyMagick/169/Configure: Destroy Magick 16:06:37 0:01 0.000u 11047 module.c/UnloadModule/2180/Configure: Unloading "GIF" module ... I fear that my image processing-fu is a bit weak, so I wanted to pose this question to the group to see if anyone more knowledgeable about these things might have some suggestions towards solving this problem. GM is rock-solid and considerably more performant than IM in all other respects (it's like night and day!), so if we can solve this problem, I think that we can begin replacing IM for good. Thanks very much for the consideration, and let me know if I can supply any further information! -- Steve Salevan st...@tu... |