This project is read-only.

Loading Gif from internet

Sep 25, 2010 at 5:19 PM


   I'm using ImageTool to try to load GIF from the web and it doesn't seem to be loading these 2 images.


My code is the following


            ImageTools.Image image = new ImageTools.Image();          

            image.UriSource = new Uri(url, UriKind.Absolute);
            image1.Stretch = System.Windows.Media.Stretch.None;            

             image1.Source = image;        

            image1.VerticalAlignment = VerticalAlignment.Bottom;          

            image1.Margin = new Thickness(0, 2, 2, 2);

image1 is the following

<it:AnimatedImage  Height="52" HorizontalAlignment="Left" Margin="0" x:Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="52" />

It seems loading of PNG and JPEG are fine, but when it comes to gif files, then it's not showing up. Also, it doesn't show that the 2nd image as animated even though it is animated. Is that a bug?