- Get the free open-source program Gifsicle (supports Windows, Mac, Linux).
- Open a command prompt window.
- Execute this command to resize and optimize your GIF:
- If your GIF's width is longer than its height: gifsicle -O2 -k100 -V --resize 160x_ path-to-your-gif-file.gif > new-gif-file.gif
- If your GIF's height is longer than its width: gifsicle -O2 -k100 -V --resize _x120 path-to-your-gif-file.gif > new-gif-file.gif
- If there's no need to resize: gifsicle -O2 -k100 -V path-to-your-gif-file.gif > new-gif-file.gif
- If the new optimized GIF file is still larger than 100 KB, you can decrease the number of colors by reducing the k parameter value. E.g. gifsicle -O2 -k50 -V path-to-your-gif-file.gif > new-gif-file.gif
- Upload the new optimized GIF to txtAgif.com.
Gifsicle is a very powerful free software to edit your animated GIF file. You can learn more here.
Alright, class is over. Start uploading :)