title: Create animated gif using the GD library
body: <p>If I've got a bunch of image resources that I made using the GD library in php, or otherwise a bunch of frames, how can I combine these into an animated gif? I've got an array of images and a frames per second I'd like to add..</p>
  
  <p>I can't use ImageMagick or FFMPEG, and I'd prefer to just use the GD library if possible.</p>
  
  <p>Apparently <a href="http://www.boutell.com/gd/faq.html" rel="noreferrer">"Support for creating GIF animations is also available."</a>, but I can't seem to find the documentation on how to access this from within PHP?</p>