What can I try to make my animted .gif image smaller? It was created in adobe flash and converted into .gif after, however it's still way too big, it's 3mb and I need it under 1mb. What can I try?

up vote 3 down vote accepted

You can:

  • reduce the image size (fewer pixels = smaller file)
  • reduce the frames in the animation
  • reduce the color pallet further
  • posterize the images (larger flatter areas of color compress better for GIFs)
  • Use software that can add additional compression techniques (IIRC, Fireworks is good for this)

Reducing image size and number of frames will be most effective by far.

GIF can encode only difference between frames, so you can also try to reduce size of the area of the image that changes, i.e. have as much unchanged/non-moving background as you can (pixels must remain completely identical between frames, even slight temporal noise will still take space in the file).

And finally, optimize the file with gifsicle (GUI).

edit: I've created lossy gif compressor: https://kornel.ski/lossygif and added it as an option to ImageOptim. Usually it reduces GIF sizes by 50%.

  • Thanks a thousand times. Especially for the link to gifsicle. – 0xC0000022L May 7 '14 at 22:07

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.