msbg
msbg

Reputation: 4962

Does Windows Phone 8 support GIF images?

I recently was able to successfully set an Image's source as a GIF image, using:

image.Source = new BitmapImage(new Uri("http://imageurl/image.gif")

I currently have to use a substantial amount of extra code to convert GIF images to PNG images, since Windows Phone 7 does not support GIF images. Is this a new officially supported feature in Windows Phone 8? Does it really support GIF images, or was my experience some sort of glitch?(Maybe an GIF file that was really in PNG format) I was wondering because I can't find this feature anywhere by searching, all that comes up is WP7 related content. I'd think it would be a such a large improvement that it would be mentioned somewhere.

Upvotes: 2

Views: 3908

Answers (1)

Emond
Emond

Reputation: 50672

Yes GIF is officially supported by Windows Phone 8

Also: do not write your own code to turn GIF's into PNG's do a batch conversion

You could also use the .NET Image Tools to use the GIF's on Windows Phone 7

The only thing that might get in your way is a badly formatted GIF or an animated GIF.

Upvotes: 5

Related Questions