Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been following this online guide to convert a small video clip into image frames, then combine them together into a single animated GIF.

The problem I'm having is that each GIF tends to be fairly large, both in filesize and dimensions(640x480 or something similar). I have seen gifs at 640x480 that come out around ~2-3MB and that is fairly reasonable.

Most of my GIFs turn out to be way larger than 10MB, often 25-30MB total. Even sizing down smaller to 320x240 does not help very much and it's frustrating because these GIFs can't be quickly uploaded to image hosts like Imgur.

Is there a method I can use to force an output size for these GIFs? Like a command through Gifsicle that will require the final output to be ~2MB or something like this? I've gone through the online docs and I cannot find any good information about this topic. Would really appreciate any advice from people who use the CLI for this kind of image manipulation. Here's a copy of the gifsicle command from that guide:

gifsicle -O3 --colors 256 Almost.gif > Done.gif
share|improve this question
If imagemagick is not a requirement, perhaps you can see this:… – George Apr 24 '15 at 10:22

You must log in to answer this question.

Browse other questions tagged .