Twain or WIA? A little lost between these two interfaces

I need to write a C # assembly (DLL) to scan documents.
I do not know if I need to use TWAIN or WIA.

Can anybody help me?

  • What are the differences?
  • What are your tips?
  • Is there a C # library?
+4
source share
1 answer

Typically, if your application interacts with scanners, TWAIN is recommended. While for cameras, WIA offers better support.

So, for the solution of document scanning, I would recommend TWAIN.

The TWAIN.H file is the C / C ++ header file. If you want to copy it to .NET yourself, you can refer to this post to get some resources: Using TWAIN in .NET - finding resources

Or you can use the commercial .NET TWAIN component.

+5
source

Source: https://habr.com/ru/post/1481714/


All Articles