twain-cs
twain-cs copied to clipboard
A C# interface for TWAIN
Some of the images I scan end up somehow corrupted - they are tilted to the side as if the pixels ware alligned incorrectly. I'm scanning using Fujitsu fi 7180...
```csharp public IntPtr DsmMemAlloc(uint a_u32Size) { IntPtr intptr; // Use the DSM... ... // Do it ourselves, Windows... if (ms_platform == Platform.WINDOWS) { intptr = (IntPtr)NativeMethods.GlobalAlloc((uint)a_u32Size, (UIntPtr)0x0042 /* GHND */);...
If you look at the function `TWAIN::NativeToBitmap`, you will find the following code: ```cs // So we make a copy (ick)... Bitmap bitmap; switch (bitmapinfoheader.biBitCount) { default: case 24: bitmap...
If you look in the method `TWAIN::DatIdentity`, you will find that if you are using callbacks that the logging uses the same message passed in instead of using `MSG.REGISTER_CALLBACK`. Here...
Hai , We bought epson plq 22cs passbook printer , we trying to integrate with our dotnet application using twain-cs. requirement 1. Reading Bar-code value from passbook 2. Without ejecting...
I got this exception when I select the duplex feed with the remove blank pages ? why this could happen ?
Hi, how to check if the scanner has a flatbed or no ?
PaperJam
I'm using this c# code to get start with the twain. the sample run as expected but if a paperjam occurred the app that I'm using this C# code in...
**Reported by mwlo on 2015-09-09 11:53 UTC** Hi, We would like to use your library. For an easier usage, it would be nice if you provide a nuget package on...
**Reported by neticous on 2015-10-13 20:12 UTC** I have the latest code and built it. I changed the ICAP_XFERMECH to native 0. There is a memory corruption with some scanners....