Added image conversion parts from commonwin32.

This commit is contained in:
soukoku
2015-02-18 20:02:39 -05:00
parent bcb1ec2382
commit b27a9ba4cc
18 changed files with 552 additions and 38 deletions

View File

@@ -1,5 +1,4 @@
using CommonWin32;
using NTwain;
using NTwain;
using NTwain.Data;
using System;
using System.Diagnostics;
@@ -91,7 +90,7 @@ namespace Tester.Winform
Bitmap img = null;
if (e.NativeData != IntPtr.Zero)
{
img = e.NativeData.GetDrawingBitmap();
img = e.GetNativeBitmap();
}
else if (!string.IsNullOrEmpty(e.FileDataPath))
{