how to get BMPs from a GIF in runtime?

I have gif file in a byte array. It consist of only 1 picture. I need to gain a BMP from it to strech to a smaller size..
..and set it up as picture of an image component.

plz help