I am using this script to resize a gif with imagemagick and php: (using the php Imagick extention) : http://www.phpro.org/examples/Thumbnail-From-Animated-GIF.html
The problem is that if the gif has many frames the process of resizing each frame is very sever intensive and takes several minutes to complete a request.
I have found these two imagemagick commands:
convert big.gif -coalesce coalesce.gif
convert -size 200x100 coalesce.gif -resize 200x10 small.gif
however I do not know how to implement them to the Imagick extension, as they are raw commands. Would these commands speed up the processs of GIF conversion?