2

I'm making an animated GIF web ad that needs to be 40KB or under. Unfortunately the one I put together is much larger than that. How can I reduce the file size without losing too much image quality?


current size: 70KB

2 Answers 2

2

Photoshop

Reduce colors and increase Lossy until the file size matches your requirements.
You will be surprised how small your animated GIF will be.

For your file use those values, for instance:

Save for Web… > GIF Colors: 128; Lossy: 8%

enter image description here

0

Things to try:

  • try using different software to compress it more
  • reduce the color palette to the absolute minimum
  • reduce the number of transitions (try 2 transitions instead of 3)
  • remove the background pattern (GIFs compress better with less horizontal changes in data). Maybe try a border instead.
2
  • Great, thank you for the advice! I didn't realize that horizontal elements can have such an impact on the file size. Commented Mar 25, 2015 at 17:24
  • Yep, GIFs use LZW compression and apply it on a row-by-row basis: en.wikipedia.org/wiki/GIF#Image_coding
    – DA01
    Commented Mar 25, 2015 at 17:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.