Is there any free or commercial component written in .NET (no COM interop) that will work with most twain scanners?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
+1 for Atalasoft
Technical quibble: You can avoid COM, but you can't avoid Interop: TWAIN is a native Win32 or Win64 DLL that is not part of Windows proper and is unknown to the CLR, so at the bottom, either in your code or the component you use, there are Interop calls to unmanaged code. Given what I know about TWAIN drivers, maybe I should say to very unmanaged code...
I've always had the impression that WIA was great for digital cameras, OK for consumer flatbeds, and not a serious contender for 'production scanning' - meaning something like full-speed multipage scans from a document feeder, under application control, using a USD400+ scanner. I've never heard of anybody doing production scanning through WIA, but I'd sure like to hear from somebody who's done this.
The Accusoft Pegasus .NET component is called TwainPRO, and it's included in the ImagXpress SDK.
The ImageGear .NET toolkit from Accusoft Pegasus also includes a full-managed implementation of Twain.
I just saw another Scanning question that referenced a 3rd party commercial product to add to the list: ImageMan
Looks like a single developer license starts at $325. I haven't used it personally, but is one of three or four products I'm evaluating.
In my company we use Pegasus. It's great.
I've just wrapped up the code from Thomas Scheidegger's article (CodeProject: .NET TWAIN image scanning) into a Google code project: http://code.google.com/p/twaindotnet/
I've cleaned up the API a bit and added WPF support, so check it out. :)
I found NTwain via Nuget, which satisfied me.