Added support for GIF compression