Adding support for detecting transparency in animated gifs