Wrapper class for WIA/TWAIN for a C# application? [closed]
Asked Answered
O

4

7

Is there a wrapper class somewhere for WIA/TWAIN functionality in a C# application?

Every search I make points to the same old 2001 CodeProject page, there has to be something new out there, right?

Maybe I'm not looking in the right place. :P

I need something really simple, like:

Image myImage = wiaWrapper.GetImageFromScanner();

Done and done.

Any guidance?

Oswaldooswalt answered 1/12, 2010 at 2:28 Comment(0)
B
8

TwainDotNet

I've wrapped up the code from Thomas Scheidegger's article (CodeProject: .NET TWAIN image scanning) into a GitHub project.

I've cleaned up the API a bit, added WPF support and several people have added other improvements. I've tried to keep the API simple but it is still a bit more complicated that what you've got there.

Also this question has some other options: .NET Scanning API

Box answered 14/4, 2011 at 0:2 Comment(2)
Well done! Any plans of making TwainDotNet available via NuGet?Eufemiaeugen
@Eufemiaeugen unfortunately I'm not actively working on the project any more. I'm happy to accept a pull request though ;-) However, NTwain looks more active at this point.Box
E
3

Besides TwainDotNet maintained by Luke, I have recently noticed NTwain on NuGet (project page on Bitbucket).

Eufemiaeugen answered 7/1, 2014 at 17:3 Comment(0)
R
2

Disclaimer: I work for Atalasoft

We publish DotTwain, which is a .NET TWAIN SDK. It's royalty-free and is used in InspectorTWAIN.com to help certify TWAIN drivers (we're members of the TWAIN working group).

Our product is a .NET Assembly that wraps interop calls.

You could also take a look at EZTwain from Dosadi, which is free. I don't know how native the .NET support is, but they have a way of calling from .NET.

Ragg answered 1/12, 2010 at 2:37 Comment(2)
I've visited the DotTwain page but I can't find pricing anywhere. Any links you can provide on pricing please?Oswaldooswalt
Go to the Buy page: atalasoft.com/buy/dotimage -- the current price is $525 for 1 SDK. Additional ones are $175. You can use DotImage Photo for free to process the images or use .NET Image/Bitmap. No runtime-royalties.Ragg
E
0

As for a WIA C# wrapper, I came across ScanWIA on Codeplex. It doesn't have a whole lot of documentation. However, reading the source code might help.

Earwitness answered 3/8, 2016 at 15:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.