wpf - How Do I Create a System.Windows.Media.ImageSource From a Byte Array? -
How can I create a system with a byte array? Windows.Media.ImageSource?
I have a byte array that contains the exact and complete file content of a TIFF image file. I need to display it on the screen, and I do not know that even to start,
can be considered, it can be done (according to my master, our Dev team has done this in the past, but no one remembers).
Has anyone done something like that here?
bitmap image bi = new bitmap image (); Bi.BeginInit (); Bi.StreamSource = new memorystream (byte); Bi.EndInit (); Also see
and
Comments
Post a Comment