How to generate animation in C/C++
<p>What is a high-level approach to generating for encoding a series of RGB buffers (from e.g. png files) into an animated gif? </p>

<p>I have been studying <a href="http://giflib.sourceforge.net/" rel="nofollow">giflib</a> but it seems overly complex. It is very low-level and documentation is sparse, especially on the animation encoder. If I understand correctly, Giflib only manipulates the GIF format; you still need to manually calculate a color mapping, allocate the buffers, etc. </p>

<p>Are there any alternative methods or perhaps more high-level C/C++ libraries that make it easier to encode a few rgb buffers into an animated gif? It seems to me this is a feature that one could expect from a gif toolkit?</p>