Reputation: 3327
I have a byte array that is the very copy of a .png file in memory and I have to display it in a WPF ImageControl. How to do it?
Upvotes: 0
Views: 464
Reputation: 57902
Create a Memory Stream from the array, load the image from the stream, then set the Image in the control.
Upvotes: 1