In This Topic
The ability to scan papers is a common thing for each modern office. Image scanner is a device that optically scans papers and converts them to digital images.
TWAIN is a standard that regulates communication between software application and scanner or camera that has a TWAIN device driver called Data Source.
SANE stands for "Scanner Access Now Easy" and is an application programming interface (API) that provides standardized access to any raster image scanner hardware.
VintaSoft Twain .NET SDK is the professional .NET image scanning SDK, which allows to work with TWAIN and SANE devices in Windows and Linux. Scanned images can be processed, saved to a file or uploaded to HTTP(S) or FTP server.
SDK features
-
General features
- SDK can be used for developing .NET 9, .NET 8, .NET 7 and .NET 6 applications (console, WinForms, WPF, ASP.NET Core, service, etc) for Windows
- SDK can be used for developing .NET 9, .NET 8, .NET 7 and .NET 6 applications (console, service, etc) for Linux
- SDK can be used for developing .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0 and 3.5 applications (console, WPF, WinForms, ASP.NET MVC, ASP.NET WebForms, service, etc) for Windows
- The SDK core is written in C#
- AnyCPU, x86 and x64 mode support
- Scan documents in Windows and Linux
- Scan documents in .NET, WinForms and WPF
-
Scan documents in any modern web browser (Chrome, Firefox, Edge, Internet Explorer, Opera)
- Control image scanner, which is compatible with TWAIN specification 1.x, in Windows
- Control image scanner, which is compatible with TWAIN specification 2.x, in Windows and Linux
- Control local image scanner, which is compatible with SANE API, in Linux
- Enumerate and select TWAIN/SANE scanner
- Acquire images from TWAIN/SANE scanner
- Preprocess scanned image
- Save scanned image to a file or database
- Upload scanned image to HTTP(S) or FTP server
-
TWAIN image scanning
-
Enumerate TWAIN devices
- Enumerate TWAIN devices available in the system
- Select TWAIN device using the standard TWAIN device selection dialog or programmatically
-
Acquire images from TWAIN device
- View and change TWAIN device settings using the standard user interface (UI) of TWAIN scanner
- Set TWAIN device settings (page format, image size, image position, page orientation, image resolution, image brightness, image contrast, etc) programmatically
-
Asynchronously acquire images TWAIN device
-
Synchronously acquire images from TWAIN device
-
Acquire a black-white, halftone, grayscale, palette or color image from TWAIN device
-
Acquire the whole image or image region from TWAIN device
-
Scan front and/or back of page using duplex scanning
-
Use the automatic document feeder (ADF) for single and multi-page scanning
- Show/hide the progress dialog when images are acquiring from TWAIN device
- Use custom progress indication (available for Memory transfer mode only) when images are acquiring from TWAIN device
- Get TWAIN acquired image as Vintasoft.Imaging.VintasoftBitmap object, System.Drawing.Bitmap object or System.Windows.Media.Imaging.BitmapSource object (available in Native or Memory transfer mode only)
-
Specify that TWAIN device should save acquired image directly to disk (available in File transfer mode only)
-
Retrieve an extended information (page number, page side, barcode, patch code, MICR, etc) about TWAIN acquired image
-
Control any capability supported by TWAIN device
- Serialize and deserialize TWAIN scanner capability settings to XML file
-
Cancel image acquisition from TWAIN device
- Create predefined session setups for mid- and high-volume TWAIN scanners
- Skip blank pages while TWAIN image scanning
- Get information about asynchronous events of TWAIN device
- Use the Dual Stream feature (make some snapshots of each acquired page) of Kodak scanner
-
Process images, which are acquired from TWAIN device
-
Save images, which are acquired from TWAIN device
-
Upload images, which are acquired from TWAIN device
-
SANE image scanning
-
Enumerate SANE devices
- Enumerate SANE devices available in the system
- Select SANE device programmatically
-
Acquire images from SANE device
-
Process images, which are acquired from SANE device
-
Save images, which are acquired from SANE device
Development and Deployment requirements
-
Development requirements:
- Development environments: Microsoft Visual Studio, Microsoft Studio Code, JetBrains Rider, .NET CLI
- Programming languages: C#, VB.NET, any .NET compatible language
- Development platforms: .NET, WinForms, WPF, ASP.NET
-
Deployment requirements:
- Windows (Windows 11/10/8.1/8/7; Windows Server 2025/2022/2019/2016/2012/2008; 32-bit and 64-bit) with .NET 9, .NET 8, .NET 7 or .NET 6
- Windows (Windows 11/10/8.1/8/7/Vista/XP; Windows Server 2025/2022/2019/2016/2012/2008; 32-bit and 64-bit) with .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5
- Linux (Ubuntu 24/23/22/20/18; Debian 12/11/10; Fedora 40/39/38/37/36) with .NET 9, .NET 8, .NET 7 or .NET 6
Online resources