Latest

C#: Convert an Image to a BitmapImage

How to convert a System.Drawing.Image to a System.Windows.Media.Imaging.BitmapImage. using System.Windows.Media.Imaging; using System.Drawing; using System.Drawing.Imaging; using System.IO; //... public BitmapImage Convert(Image img) { using (var memory = new MemoryStream())
Read More