giflib formatting