Saraff.Twain.NET
Saraff.Twain.NET is the skillful scanning component which allows you to control work of flatbed scanner, web and digital camera and any other TWAIN device from .NET environment. You can use this library in your programs written in any programming languages compatible with .NET technology.
Features:
- TWAIN specification 1.x / 2.x compatible
- Programming environments: .NET Framework 2.0 or higher, WPF 3.5 or higher
- Full support for x86 and x64 platforms
- This is a fully-managed .NET library to guarantee the fast working in .NET Framework
- Acquire images from scanners, web or digital cameras and any other TWAIN device
- Data source enumeration and selection
- Control the work of Automatic Document Feeder (ADF) while scanning
- Supports Native, Buffered Memory, Disk File and Memory File image transfer mode
- Set up images acquisition parameters (pixel type, resolution, page size, image layout rectangle, brightness, contrast, etc)
- Retrieve the extended image information from scanner (barcode, patch code info, etc)
- Control advanced capabilities of TWAIN devices (rotation of images, scaling of images, filters of images, paper handling, the patch code detection and etc)
- Save acquired images as BMP, JPEG, PNG, GIF, TIFF files
Saraff.Twain.NET was tested and has examples of use for:
- Microsoft Visual C# 2005 / 2008 / 2010 / 2015
- Microsoft Visual Basic - VB.NET 2005 / 2008 / 2010 / 2015
Supported frameworks:
- CLR v2.0: .net 2.0 / 3.0 / 3.5
- CLR v4.0: .net 4.0 / 4.5 / 4.6
System requirements:
- .NET Framework
Supported platforms:
- Windows 2000 / XP / 2003 / Vista / 2008 / 7 / 8 / 10, 32-bit / 64-bit
- Linux (was tested on Lubuntu 14.04 LTS x86_32 & Lubuntu 16.04 LTS x86_32)
- MaxOSX (not tested yet)
NuGet package
Documentation
Samples:
- Saraff.Twain.NET CS Samples (UPDATED. 04.06.2016)…
- Saraff.Twain.NET Extensions Samples (LINQ to TWAIN) (NEW. 29.06.2017)…
- Saraff.Twain.NET Vb.net Samples (UPDATED. 05.06.2016)…
- Saraff.Twain.NET WPF Samples (UPDATED. 22.10.2016)…
- Saraff.Twain.NET Multithreading Samples (NEW. 04.12.2016)…
- Saraff.Twain.NET Outproc Samples (UPDATED. 22.10.2016)…
- Saraff.Twain.NET Service Samples (UPDATED. 05.05.2017)…
- Saraff.Twain.NET Web Samples (UPDATED. 05.06.2016)…
- Saraff.Twain.NET Silverlight Samples (UPDATED. 05.05.2017)…
- Saraff.Twain.NET UWP Samples (Universal Windows) (UPDATED. 05.05.2017)…
- Saraff.Twain.NET HTML Samples (UPDATED. 05.05.2017)…
- Saraff.Twain.NET Dependency Injection Samples (NEW. 21.08.2017)…
Figure 1 - Saraff.Twain.Sample2 on Windows 7
If you notice an error, please let me know about it.