Is it possible to create a System.Windows.Media.Imaging.Bitmapsource
from a System.Drawing.Bitmap
without a reallocation?
Unfortunately all methods described in other post included a copy of the pixel data
which is not always needed and very expensive...
I found this solution and it worked perfectly for me!
WpfImage.Source = new SharedBitmapSource(DrawingBitmap);