2014-04-03 18:52:11 -04:00
|
|
|
TWAIN Application-Side Library
|
2014-04-02 19:01:21 -04:00
|
|
|
==============================
|
|
|
|
|
|
2014-04-03 18:52:11 -04:00
|
|
|
Info
|
2014-04-02 19:01:21 -04:00
|
|
|
--------------------------------------
|
2014-04-05 20:14:19 -04:00
|
|
|
This is a dotnet library created to work with [TWAIN](http://twain.org/) interface.
|
2014-04-02 19:01:21 -04:00
|
|
|
This project follows these general goals:
|
|
|
|
|
|
2014-04-03 18:52:11 -04:00
|
|
|
* Targets latest TWAIN version (2.3 at the moment)
|
2014-04-13 09:30:39 -04:00
|
|
|
* Supports all the TWAIN functions in the spec
|
|
|
|
|
* Eventally work on platforms other than Windows (I can dream)
|
2014-04-03 18:52:11 -04:00
|
|
|
|
2014-04-07 22:50:09 -04:00
|
|
|
The solution contains sample projects in winforms, wpf, and even (gasp!) console.
|
|
|
|
|
A nuget package is also [available here](https://www.nuget.org/packages/ntwain)
|
|
|
|
|
|
|
|
|
|
Using the lib
|
|
|
|
|
--------------------------------------
|
|
|
|
|
To properly use this lib you will need to be reasonably familiar with the TWAIN spec
|
|
|
|
|
and how it works in general. Except for certain "important" calls that drive the
|
2014-04-13 09:30:39 -04:00
|
|
|
TWAIN state change, most triplet operations are only availble as-is so you will need to know
|
|
|
|
|
when and how to use them. There are no high-level, single-line scan-a-page-for-me-now functions.
|
|
|
|
|
|
|
|
|
|
At the moment this lib does not provide ways to parse transferred image data and require
|
|
|
|
|
consumers to do the conversion. The winform project contains one such
|
|
|
|
|
example for handling DIB image in native transfer.
|