You can buy this project and download/modify it how often you want.
org.ajax4jsf.framework.util.image.imageio.gif.GIFImageWriterSpi