convert.exe -coalesce -resize 320x320 -alpha set +repage -layers optimize source.gif converted.gif
But now I got a large number of files that can not be properly processed. My output files look a bit strange:

I tried to resave this source file with PhotoScape (without applying any changes e.g. resize, crop etc.), and the problem dissapeared


Here you can dl the source and resaved files, and output images for both of them: http://rghost.ru/3464934 Maybe someone can help?

P.S. Sorry for my bad english.