Page 1 of 1

animated gif not being converted

Posted: 2013-12-05T16:36:31-07:00
by dwieeb
It's strange because the resizing of all animated gifs has been working correctly for years.

It seems to be having a problem with this particular file. Any help would be appreciated!

Code: Select all

Version: ImageMagick 6.7.7-10 2013-09-01 Q16 http://www.imagemagick.org

Code: Select all

$ /usr/bin/convert -verbose -resize "150x150" "Sin-ttulo-1.gif" "./_Sin-ttulo-1.gif%resize:150x150"

Code: Select all

Sin-ttulo-1.gif[0] GIF 314x338 314x338+0+0 8-bit PseudoClass 256c 927KB 0.330u 0:00.339
Sin-ttulo-1.gif[1] GIF 283x338 314x338+31+0 8-bit PseudoClass 256c 927KB 0.330u 0:00.330
Sin-ttulo-1.gif[2] GIF 243x283 314x338+31+27 8-bit PseudoClass 256c 927KB 0.320u 0:00.330
Sin-ttulo-1.gif[3] GIF 242x283 314x338+32+27 8-bit PseudoClass 256c 927KB 0.320u 0:00.330
Sin-ttulo-1.gif[4] GIF 242x283 314x338+32+27 8-bit PseudoClass 256c 927KB 0.320u 0:00.319
Sin-ttulo-1.gif[5] GIF 242x283 314x338+32+27 8-bit PseudoClass 256c 927KB 0.320u 0:00.319
Sin-ttulo-1.gif[6] GIF 243x283 314x338+32+27 8-bit PseudoClass 256c 927KB 0.310u 0:00.319
Sin-ttulo-1.gif[7] GIF 243x283 314x338+32+27 8-bit PseudoClass 256c 927KB 0.310u 0:00.319
Sin-ttulo-1.gif[8] GIF 242x283 314x338+33+27 8-bit PseudoClass 256c 927KB 0.310u 0:00.309
Sin-ttulo-1.gif[9] GIF 242x283 314x338+33+27 8-bit PseudoClass 256c 927KB 0.310u 0:00.309
Sin-ttulo-1.gif[10] GIF 243x283 314x338+33+27 8-bit PseudoClass 256c 927KB 0.310u 0:00.309
Sin-ttulo-1.gif[11] GIF 243x283 314x338+33+27 8-bit PseudoClass 256c 927KB 0.310u 0:00.309
Sin-ttulo-1.gif[12] GIF 243x282 314x338+33+27 8-bit PseudoClass 256c 927KB 0.300u 0:00.299
Sin-ttulo-1.gif[13] GIF 242x283 314x338+34+27 8-bit PseudoClass 256c 927KB 0.300u 0:00.299
Sin-ttulo-1.gif[14] GIF 242x283 314x338+34+27 8-bit PseudoClass 256c 927KB 0.300u 0:00.299
Sin-ttulo-1.gif[15] GIF 243x282 314x338+34+27 8-bit PseudoClass 256c 927KB 0.290u 0:00.299
Sin-ttulo-1.gif[16] GIF 243x282 314x338+34+27 8-bit PseudoClass 256c 927KB 0.290u 0:00.289
Sin-ttulo-1.gif[17] GIF 242x282 314x338+35+27 8-bit PseudoClass 256c 927KB 0.280u 0:00.289
Sin-ttulo-1.gif[18] GIF 242x282 314x338+35+27 8-bit PseudoClass 256c 927KB 0.280u 0:00.289
Sin-ttulo-1.gif[19] GIF 242x282 314x338+35+27 8-bit PseudoClass 256c 927KB 0.280u 0:00.279
Sin-ttulo-1.gif[20] GIF 243x282 314x338+35+27 8-bit PseudoClass 256c 927KB 0.280u 0:00.279
Sin-ttulo-1.gif[21] GIF 243x282 314x338+35+27 8-bit PseudoClass 256c 927KB 0.280u 0:00.279
Sin-ttulo-1.gif[22] GIF 242x282 314x338+36+27 8-bit PseudoClass 256c 927KB 0.280u 0:00.279
Sin-ttulo-1.gif[23] GIF 242x282 314x338+36+27 8-bit PseudoClass 256c 927KB 0.280u 0:00.269
Sin-ttulo-1.gif[24] GIF 243x282 314x338+36+27 8-bit PseudoClass 256c 927KB 0.270u 0:00.269
Sin-ttulo-1.gif[25] GIF 243x282 314x338+36+27 8-bit PseudoClass 256c 927KB 0.270u 0:00.269
Sin-ttulo-1.gif[26] GIF 243x282 314x338+36+27 8-bit PseudoClass 256c 927KB 0.270u 0:00.269
Sin-ttulo-1.gif[27] GIF 242x282 314x338+37+27 8-bit PseudoClass 256c 927KB 0.260u 0:00.259
Sin-ttulo-1.gif[28] GIF 242x282 314x338+37+27 8-bit PseudoClass 256c 927KB 0.250u 0:00.259
Sin-ttulo-1.gif[29] GIF 243x282 314x338+37+27 8-bit PseudoClass 256c 927KB 0.250u 0:00.259
Sin-ttulo-1.gif[30] GIF 243x282 314x338+37+27 8-bit PseudoClass 256c 927KB 0.250u 0:00.250
Sin-ttulo-1.gif[31] GIF 242x282 314x338+38+27 8-bit PseudoClass 256c 927KB 0.250u 0:00.250
Sin-ttulo-1.gif[32] GIF 242x282 314x338+38+27 8-bit PseudoClass 256c 927KB 0.250u 0:00.250
Sin-ttulo-1.gif[33] GIF 242x283 314x338+38+26 8-bit PseudoClass 256c 927KB 0.240u 0:00.240
Sin-ttulo-1.gif[34] GIF 243x283 314x338+38+26 8-bit PseudoClass 256c 927KB 0.240u 0:00.240
Sin-ttulo-1.gif[35] GIF 243x283 314x338+38+26 8-bit PseudoClass 256c 927KB 0.250u 0:00.240
Sin-ttulo-1.gif[36] GIF 242x283 314x338+39+26 8-bit PseudoClass 256c 927KB 0.250u 0:00.240
Sin-ttulo-1.gif[37] GIF 242x283 314x338+39+26 8-bit PseudoClass 256c 927KB 0.240u 0:00.229
Sin-ttulo-1.gif[38] GIF 243x283 314x338+39+26 8-bit PseudoClass 256c 927KB 0.230u 0:00.239
Sin-ttulo-1.gif[39] GIF 243x283 314x338+39+26 8-bit PseudoClass 256c 927KB 0.230u 0:00.239
Sin-ttulo-1.gif[40] GIF 243x283 314x338+39+26 8-bit PseudoClass 256c 927KB 0.230u 0:00.229
Sin-ttulo-1.gif[41] GIF 241x283 314x338+41+26 8-bit PseudoClass 256c 927KB 0.230u 0:00.229
Sin-ttulo-1.gif[42] GIF 242x283 314x338+40+26 8-bit PseudoClass 256c 927KB 0.220u 0:00.229
Sin-ttulo-1.gif[43] GIF 243x283 314x338+40+26 8-bit PseudoClass 256c 927KB 0.220u 0:00.219
Sin-ttulo-1.gif[44] GIF 243x283 314x338+40+26 8-bit PseudoClass 256c 927KB 0.220u 0:00.219
Sin-ttulo-1.gif[45] GIF 242x283 314x338+41+26 8-bit PseudoClass 256c 927KB 0.220u 0:00.219
Sin-ttulo-1.gif[46] GIF 242x283 314x338+41+26 8-bit PseudoClass 256c 927KB 0.210u 0:00.209
Sin-ttulo-1.gif[47] GIF 242x283 314x338+41+26 8-bit PseudoClass 256c 927KB 0.210u 0:00.209
Sin-ttulo-1.gif[48] GIF 243x283 314x338+41+26 8-bit PseudoClass 256c 927KB 0.210u 0:00.209
Sin-ttulo-1.gif[49] GIF 243x283 314x338+41+26 8-bit PseudoClass 256c 927KB 0.200u 0:00.199
Sin-ttulo-1.gif[50] GIF 255x296 314x338+30+20 8-bit PseudoClass 256c 927KB 0.200u 0:00.199
Sin-ttulo-1.gif[51] GIF 255x296 314x338+30+20 8-bit PseudoClass 256c 927KB 0.190u 0:00.199
Sin-ttulo-1.gif[52] GIF 254x296 314x338+30+20 8-bit PseudoClass 256c 927KB 0.190u 0:00.189
Sin-ttulo-1.gif[53] GIF 255x296 314x338+30+20 8-bit PseudoClass 256c 927KB 0.190u 0:00.189
Sin-ttulo-1.gif[54] GIF 255x296 314x338+30+20 8-bit PseudoClass 256c 927KB 0.190u 0:00.189
Sin-ttulo-1.gif[55] GIF 255x296 314x338+30+20 8-bit PseudoClass 256c 927KB 0.180u 0:00.179
Sin-ttulo-1.gif[56] GIF 255x296 314x338+30+20 8-bit PseudoClass 256c 927KB 0.180u 0:00.179
Sin-ttulo-1.gif[57] GIF 255x296 314x338+30+20 8-bit PseudoClass 256c 927KB 0.180u 0:00.179
Sin-ttulo-1.gif[58] GIF 255x296 314x338+30+20 8-bit PseudoClass 256c 927KB 0.170u 0:00.179
Sin-ttulo-1.gif[59] GIF 256x296 314x338+29+20 8-bit PseudoClass 256c 927KB 0.170u 0:00.169
Sin-ttulo-1.gif[60] GIF 256x296 314x338+29+20 8-bit PseudoClass 256c 927KB 0.170u 0:00.169
Sin-ttulo-1.gif[61] GIF 256x296 314x338+29+20 8-bit PseudoClass 256c 927KB 0.160u 0:00.169
Sin-ttulo-1.gif[62] GIF 256x296 314x338+29+20 8-bit PseudoClass 256c 927KB 0.160u 0:00.159
Sin-ttulo-1.gif[63] GIF 256x296 314x338+29+20 8-bit PseudoClass 256c 927KB 0.160u 0:00.159
Sin-ttulo-1.gif[64] GIF 256x296 314x338+29+20 8-bit PseudoClass 256c 927KB 0.160u 0:00.159
Sin-ttulo-1.gif[65] GIF 256x296 314x338+29+20 8-bit PseudoClass 256c 927KB 0.160u 0:00.149
Sin-ttulo-1.gif[66] GIF 256x296 314x338+29+20 8-bit PseudoClass 256c 927KB 0.150u 0:00.149
Sin-ttulo-1.gif[67] GIF 258x295 314x338+28+20 8-bit PseudoClass 256c 927KB 0.140u 0:00.149
Sin-ttulo-1.gif[68] GIF 258x295 314x338+28+20 8-bit PseudoClass 256c 927KB 0.140u 0:00.149
Sin-ttulo-1.gif[69] GIF 258x295 314x338+28+20 8-bit PseudoClass 256c 927KB 0.140u 0:00.139
Sin-ttulo-1.gif[70] GIF 258x295 314x338+28+20 8-bit PseudoClass 256c 927KB 0.140u 0:00.139
Sin-ttulo-1.gif[71] GIF 258x295 314x338+28+20 8-bit PseudoClass 256c 927KB 0.130u 0:00.139
Sin-ttulo-1.gif[72] GIF 258x295 314x338+28+20 8-bit PseudoClass 256c 927KB 0.130u 0:00.129
Sin-ttulo-1.gif[73] GIF 258x295 314x338+28+20 8-bit PseudoClass 256c 927KB 0.130u 0:00.129
Sin-ttulo-1.gif[74] GIF 259x295 314x338+27+20 8-bit PseudoClass 256c 927KB 0.130u 0:00.129
Sin-ttulo-1.gif[75] GIF 259x295 314x338+27+20 8-bit PseudoClass 256c 927KB 0.130u 0:00.119
Sin-ttulo-1.gif[76] GIF 259x295 314x338+27+20 8-bit PseudoClass 256c 927KB 0.120u 0:00.119
Sin-ttulo-1.gif[77] GIF 259x295 314x338+27+20 8-bit PseudoClass 256c 927KB 0.120u 0:00.119
Sin-ttulo-1.gif[78] GIF 259x295 314x338+27+20 8-bit PseudoClass 256c 927KB 0.110u 0:00.109
Sin-ttulo-1.gif[79] GIF 259x295 314x338+27+20 8-bit PseudoClass 256c 927KB 0.110u 0:00.109
Sin-ttulo-1.gif[80] GIF 259x295 314x338+27+20 8-bit PseudoClass 256c 927KB 0.100u 0:00.109
Sin-ttulo-1.gif[81] GIF 259x295 314x338+27+20 8-bit PseudoClass 256c 927KB 0.100u 0:00.099
Sin-ttulo-1.gif[82] GIF 261x295 314x338+26+20 8-bit PseudoClass 256c 927KB 0.100u 0:00.099
Sin-ttulo-1.gif[83] GIF 261x295 314x338+26+20 8-bit PseudoClass 256c 927KB 0.100u 0:00.099
Sin-ttulo-1.gif[84] GIF 261x295 314x338+26+20 8-bit PseudoClass 256c 927KB 0.100u 0:00.099
Sin-ttulo-1.gif[85] GIF 261x295 314x338+26+20 8-bit PseudoClass 256c 927KB 0.090u 0:00.089
Sin-ttulo-1.gif[86] GIF 261x295 314x338+26+20 8-bit PseudoClass 256c 927KB 0.080u 0:00.089
Sin-ttulo-1.gif[87] GIF 261x295 314x338+26+20 8-bit PseudoClass 256c 927KB 0.080u 0:00.079
Sin-ttulo-1.gif[88] GIF 261x295 314x338+26+20 8-bit PseudoClass 256c 927KB 0.080u 0:00.079
Sin-ttulo-1.gif[89] GIF 261x295 314x338+26+20 8-bit PseudoClass 256c 927KB 0.070u 0:00.080
Sin-ttulo-1.gif[90] GIF 262x295 314x338+25+20 8-bit PseudoClass 256c 927KB 0.070u 0:00.080
Sin-ttulo-1.gif[91] GIF 262x295 314x338+25+20 8-bit PseudoClass 256c 927KB 0.070u 0:00.080
Sin-ttulo-1.gif[92] GIF 262x295 314x338+25+20 8-bit PseudoClass 256c 927KB 0.060u 0:00.070
Sin-ttulo-1.gif[93] GIF 262x295 314x338+25+20 8-bit PseudoClass 256c 927KB 0.060u 0:00.070
Sin-ttulo-1.gif[94] GIF 262x295 314x338+25+20 8-bit PseudoClass 256c 927KB 0.050u 0:00.070
Sin-ttulo-1.gif[95] GIF 262x295 314x338+25+20 8-bit PseudoClass 256c 927KB 0.050u 0:00.060
Sin-ttulo-1.gif[96] GIF 262x295 314x338+25+20 8-bit PseudoClass 256c 927KB 0.050u 0:00.060
Sin-ttulo-1.gif[97] GIF 262x295 314x338+25+20 8-bit PseudoClass 256c 927KB 0.040u 0:00.060
Sin-ttulo-1.gif[98] GIF 264x295 314x338+24+20 8-bit PseudoClass 256c 927KB 0.040u 0:00.050
Sin-ttulo-1.gif[99] GIF 264x295 314x338+24+20 8-bit PseudoClass 256c 927KB 0.040u 0:00.050
Sin-ttulo-1.gif[100] GIF 264x295 314x338+24+20 8-bit PseudoClass 256c 927KB 0.040u 0:00.050
Sin-ttulo-1.gif[101] GIF 264x295 314x338+24+20 8-bit PseudoClass 256c 927KB 0.040u 0:00.040
Sin-ttulo-1.gif[102] GIF 264x295 314x338+24+20 8-bit PseudoClass 256c 927KB 0.030u 0:00.040
Sin-ttulo-1.gif[103] GIF 264x294 314x338+24+20 8-bit PseudoClass 256c 927KB 0.020u 0:00.040
Sin-ttulo-1.gif[104] GIF 290x318 314x338+24+20 8-bit PseudoClass 256c 927KB 0.020u 0:00.040
Sin-ttulo-1.gif[105] GIF 289x317 314x338+25+21 8-bit PseudoClass 256c 927KB 0.020u 0:00.030
Sin-ttulo-1.gif[106] GIF 225x173 314x338+78+88 8-bit PseudoClass 256c 927KB 0.020u 0:00.020
Sin-ttulo-1.gif[107] GIF 1x1 314x338+0+0 8-bit PseudoClass 256c 927KB 0.010u 0:00.020
Sin-ttulo-1.gif[108] GIF 83x271 314x338+231+43 8-bit PseudoClass 256c 927KB 0.010u 0:00.020
Sin-ttulo-1.gif[109] GIF 236x313 314x338+78+25 8-bit PseudoClass 256c 927KB 0.010u 0:00.020
Sin-ttulo-1.gif=>150x150-0[0] GIF 314x338=>139x150 139x150+0+0 8-bit Palette PseudoClass 256c 388KB 40.720u 0:26.629

Re: animated gif not being converted

Posted: 2013-12-05T17:08:39-07:00
by fmw42
Do the resize after reading the input. If that fails, then provide a link to your input. You can post it to any free image hosting site such as dropbox and then put the link here to it.

Re: animated gif not being converted

Posted: 2013-12-05T17:28:40-07:00
by dwieeb
That only reorders the command line arguments and options..

Code: Select all

$ /usr/bin/convert "Sin-ttulo-1.gif" -verbose -resize "150x150" "./_Sin-ttulo-1.gif%resize:150x150"

Code: Select all

Sin-ttulo-1.gif=>150x150-0[0] GIF 314x338=>139x150 139x150+0+0 8-bit Palette PseudoClass 256c 385KB 47.050u 0:28.320
It does not create the thumbnail.

Here is Sin-ttulo-1.gif: http://oi43.tinypic.com/102t382.jpg

Re: animated gif not being converted

Posted: 2013-12-05T17:35:06-07:00
by fmw42
what is "%resize:150x150" doing appended to the output

try a simple command without all the extra symbols. Rename your input and try this where your input and output are in the working directory where you are issuing your command.

/usr/bin/convert -verbose "in-ttulo-1.gif" -resize "150x150" "in-ttulo-2.gif"

or leave off the quotes and try this

/usr/bin/convert -verbose in-ttulo-1.gif -resize 150x150 in-ttulo-2.gif

Re: animated gif not being converted

Posted: 2013-12-05T17:54:26-07:00
by dwieeb
The stuff after that is just for caching the image. The server caches thumbnails and checks to see if the file exists.

The weird thing is this script has worked for years, it just has a problem with this one image. Not sure why. I'll let it continue running to see if it has problems with other images.

Thanks!

Re: animated gif not being converted

Posted: 2013-12-05T18:00:31-07:00
by fmw42
can you post a link to that image, so others can test? I suspect that image may be corrupt in some way.

Re: animated gif not being converted

Posted: 2013-12-05T19:43:28-07:00
by dwieeb
It worked without the percentage sign. I posted a link in my second post.
Percent signs are used by IM for special things as well as percent, so if you need to use them, you must escape them.

Re: animated gif not being converted

Posted: 2013-12-05T20:33:34-07:00
by snibgo
After renameing your file to remove ".jpg" from the centre, this works fine for me, Windows 7, IM 6.8.7-0:

Code: Select all

convert 102t382.gif -verbose -resize 150x150 o.gif