Update animation GIF and Sprite

I add methods to provide better manage the activities contained in a GIF or a spritesheet