Here is a (JB) program that reads a GIF file and tries to decode it to BMP.
If it has several frames it writes them all.
If there is transparency info it writes it as a sprite, as well.
Well, that how it should work
At least it works with GIF examples attached.