开发者

Open source twain library

Can you advice me open source twain library for scannning wi开发者_C百科th pure good API.


Have a look at Saraff Twain

Project is active and has a few nice examples. I implemented it in a few minutes

UPDATE: The project moved to github


Take a look at TWAIN sample Data Source and Application. Although written in C++, you can use the supplied DLLs in your .NET application.

Also, I'd recommend reading this article on TWAIN image acquisition in C#.


On Windows 10 64bit I got an error (Twain device list always empty). I have found "TwainDotNet" https://github.com/tmyroadctfig/twaindotnet . Then I modified the well-documented testApp and worked like a charm... Added to my project:

using TwainDotNet;
using TwainDotNet.TwainNative;
using TwainDotNet.WinFroms;

Files needed:

TwainDotNet.WinFroms.dll
TwainDotNet.dll
log4net.dll

Hope this helps!


There is another opensource TWAIN .Net implementation here:

http://opentwain.codeplex.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜