title: convert IntPtr to bitmapimage
body: <p>I use twain_32 for the scan and in  <code>twainLib.TransferPictures</code> use <code>DibToBitmap.FormHDib(hbitmap)</code> to get a <code>bitmapsource</code> from <code>IntPtr</code> but I want a <code>bitmapimage</code>.</p>
  
  <p>I want to convert the <code>IntPtr</code> <code>bitmapsource</code> to <code>bitmapimage</code> directly instead to make it a <code>bitmapsource</code> then a <code>bitmapimage</code></p>