New GalleryView Build and a .NET gotcha
A new build of the GalleryView Fiddler Extension has been posted. The new version is 2.1.0.3.
This version fixes an annoying bug: previously, when displaying an animated image, the viewer would throw an exception and display the annoying red X.
It turns out that when an image is loaded from a stream using the Image.FromStream(Stream) method, GDI+ requires the stream to be opened for the lifetime of the image. In the original build, the stream was been closed immediately after assigning the image to the PictureBox so an exception is raised when the PictureBox attempts to animate the image.
This version fixes an annoying bug: previously, when displaying an animated image, the viewer would throw an exception and display the annoying red X.
It turns out that when an image is loaded from a stream using the Image.FromStream(Stream) method, GDI+ requires the stream to be opened for the lifetime of the image. In the original build, the stream was been closed immediately after assigning the image to the PictureBox so an exception is raised when the PictureBox attempts to animate the image.