Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.