-1

how to show the gif image in windows phone 7, i tried from many site, but they have done only by using web browser to view the gif image. now i want to view the gif image by not using of web browser control, usually have to view the gif image as jpeg image in windows phone 7. how to do Please help me

Thanks in advance.

siva
  • 375
  • 6
  • 24

1 Answers1

1

u cant render directly the gif image in wp7 & so u can decode it to the bitmap image to show

ther are many links to show how to convert gif into bitmap, take a look at these--->

Display GIF in a WP7 application with Silverlight

http://blogs.msdn.com/b/jaimer/archive/2010/11/23/working-with-gif-images-in-windows-phone.aspx

Community
  • 1
  • 1
Ashok Damani
  • 3,896
  • 4
  • 30
  • 48
  • i want to show animated image shows as well from gif format only , can u tell me any demo project link? – siva May 28 '13 at 10:51
  • ImageTools.IO.Decoders.AddDecoder(); ImageSource = new Uri( "http://25.media.tumblr.com/tumblr_m90uismbPw1r244l5o1_400.gif", UriKind.Absolute ); this.DataContext = this; – siva May 29 '13 at 04:33
  • but not working.. pls help me anybody is there another way to solve this problem.. – siva May 29 '13 at 04:34
  • iam getting exception of type Image.Tools.IO.IImageDecoder is defined in an assembly that is not referenced. you must add a reference to assembly "ImageTools, version = 1.0.0.0, culture=natural, publicKeyToken=null" – siva May 29 '13 at 04:47