add ability to create animated GIF as well