Unable to read bmp and gif files in Silverlight [modified]
WPF
1
Posts
1
Posters
0
Views
1
Watching
-
BitmapImage imageSource = new BitmapImage(); Stream stream = fu.File.OpenRead(); BinaryReader binaryReader = new BinaryReader(stream); byte[] currentImageInBytes = binaryReader.ReadBytes((int)stream.Length); stream.Position = 0; imageSource.SetSource(stream); imagePreview.Source = imageSource;
catastrophic failure error occoured,Plz help HI after a lot of RND i got something like imagetool on codeplex did anyone has some idea how to use the same. HI All its done, my problem is been resolved now, I used imagetool classes to convert gif and bmp files, but still looking for TIFF decoder, did any one have teh solution for the same???? Thanksmodified on Friday, July 23, 2010 12:13 AM