mirror of
https://github.com/soukoku/ntwain.git
synced 2025-10-25 02:49:04 +08:00
Added tiff support.
This commit is contained in:
@@ -87,10 +87,10 @@ namespace Tester.Winform
|
||||
}
|
||||
|
||||
// handle image data
|
||||
Bitmap img = null;
|
||||
Image img = null;
|
||||
if (e.NativeData != IntPtr.Zero)
|
||||
{
|
||||
img = e.GetNativeBitmap();
|
||||
img = e.GetNativeImage();
|
||||
}
|
||||
else if (!string.IsNullOrEmpty(e.FileDataPath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user