Gif decoder