Page 1 of 1

Convertion animated GIF creates black pixels.

Posted: 2011-11-16T17:55:23-07:00
by lorcap
Hi!
This is my original animated GIF.

After conversion:

Code: Select all

> convert.exe orig.gif %04d.jpg
output images covered with black pixels.
Here is 0001.jpg for example.

Why this happening?

Code: Select all

> identify.exe orig.gif
1321211391814.gif[0] GIF 512x288 512x288+0+0 8-bit PseudoClass 256c 1.344MB 0.000u 0:00.000
1321211391814.gif[1] GIF 512x288 512x288+0+0 8-bit PseudoClass 256c 1.344MB 0.000u 0:00.046
...
1321211391814.gif[25] GIF 512x288 512x288+0+0 8-bit PseudoClass 256c 1.344MB 0.031u 0:00.296

> convert.exe -version
Version: ImageMagick 6.7.3-6 2011-11-10 Q16 http://www.imagemagick.org Features: OpenMP

Re: Convertion animated GIF creates black pixels.

Posted: 2011-11-16T19:03:40-07:00
by fmw42
It appears to be due to your gif animation optimization? this works for me by adding -coalesce

convert orig.gif -coalesce orig_%d.jpg

Re: Convertion animated GIF creates black pixels.

Posted: 2011-11-16T20:28:43-07:00
by lorcap
Thanks, fmw42!
With -coalesce it's works fine.