views:

1819

answers:

9
+9  Q: 

.NET Scanning API

Is there any free or commercial component written in .NET (no COM interop) that will work with most twain scanners?

+2  A: 

In my company we use Pegasus. It's great.

Jedi Master Spooky
+3  A: 

Take a look at CodeProject: .NET TWAIN image scanning That might give you a good start.

Redbaron
+3  A: 

Microsoft have an API all about scanning. It's called Windows Image Acquisition and you can read a great Coding4Fun article about it by none other than Scott Hanselman here.

Matt Hamilton
A: 

Just started a project in .net and found great info here about using Windows Image Acquisition. Lots of sample VB code and some c#.

Crippeoblade
+3  A: 

Disclaimer: I work for Atalasoft

Atalasoft has a product, DotTwain, which has no COM interop (just direct calls to the twain dll from .NET) and gives you a completely .NET interface. It can be embedded in a browser hosted WinForms control, for instance, because it doesn't use COM.

Lou Franco
Just to save anyone looking for a "low budget" approach, as of 8/20/10 DotTwain is $700 for the first SDK and Additional SDKs are $234. Server licensing seems to start at $400, but things get murky there on the pricing info page. http://www.atalasoft.com/products/dotimage/dottwain/pricing
Jeremy
Also, it's runtime-royalty free, which isn't true for all of the other commercial products listed for this question.
Lou Franco
+1  A: 

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.

since OP mentioned the word "Free", I'll add that Accusoft ImagXpress starts at $999 for the "standard" dev kit (pro kit is $2k), and then server deployment licensing per year is a hair shy of $2k for two cores. (minimum 2 cores) No perpetual licensing is available. http://www.accusoft.com/imagxpresspricing.htm
Jeremy
+4  A: 

TwainDotNet

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. :)

Luke Quinane
+4  A: 

+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.

Spike0xff
We considered it but stuck with TWAIN because Fujitsu's official line is they don't support WIA in their high end scanners.
Filmund
+1. Not for AtalaSoft, but for the general comments about COM/Interop and WIA.
David HAust
A: 

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.

Mike L