简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM