Ubuntu – Any way to automatically compress a .gif file

gifimage processing

I have a 2.0 mb gif I want to make smaller, preferably by dropping some frames.

Is there a command line utility or a program that will do it for me automatically?

Thanks.

Best Answer

ImageOptim uses Gifsicle for its Gif compression. As far as I know, it works quite well (I don't generally use Gif these days). From their site:

Optimize your animations! This stores only the changed portion of each frame, and can radically shrink your GIFs. You can also use transparency to make them even smaller. Gifsicle’s optimizer is pretty powerful, and usually reduces animations to within a couple bytes of the best commercial optimizers.