TWAIN SDK Technology

LEADTOOLS provides everything needed to control any TWAIN scanner, digital camera, or capture card. With LEADTOOLS, .NET (C# & VB), C/C++, and web developers can use TWAIN to capture images for OCR, barcode, forms recognition, image processing, and more. High-level acquisition functions are included for ease of use while low-level functionality is provided for flexibility and control in even the most demanding scanning applications.

Overview of LEADTOOLS TWAIN SDK Technology

  • Supports TWAIN 1.x and 2.x drivers
  • Comprehensive multithread support for maximum performance
  • Get and set all TWAIN capabilities that the TWAIN driver supports
  • Create custom user interfaces to expose only specific functionality or use the default user interface provided by the TWAIN driver
  • Bypass the user interface for completely automated tasks and batch scanning
  • Develop web and cloud-based scanning applications
  • Utilize events and callbacks to code special per-page processing
  • Show the TWAIN source manager's selection dialog to select a TWAIN driver, create a custom selection dialog, or select a TWAIN driver programmatically
  • Scan in black and white, halftone, grayscale, palette, and full color
  • Control the resolution, position, size, and orientation of the acquired image
  • Use an automated document feeder (ADF) for single and multi-page scanning
  • Scan front and back of page with duplex scanning
  • Acquire using native, buffered memory, and file transfer modes
  • Buffered memory transfer mode reduces the data transfer bottle neck by using JPEG, RLE, BITFIELDS, GROUP 3, GROUP 4, or PackBits compression
  • Load and save current configuration for later use with CustomDS Data
  • Retrieve barcode, patch code, MICR, and other information for each page from the Extended Image Information
  • Use LEADTOOLS Fast TWAIN to automatically select optimal device settings for speed
  • Negotiate the TWAIN file system used by digital cameras
  • 32 and 64-bit TWAIN binaries
  • Available as .NET (C# & VB) classes, C DLL, and C++ classes

Technology Related to TWAIN

Start Coding with LEADTOOLS

Download the Full Evaluation

The Full Evaluation Download includes all LEADTOOLS Document, Medical, Imaging, and Vector technologies for all development and target platforms. Get everything LEADTOOLS all in one convenient download.

Download Projects using NuGet

LEADTOOLS provides NuGet packages for .NET Framework, .NET Core, UWP, and Xamarin development. Download projects that reference our NuGets and start coding right away.

Supported Development Platforms for TWAIN

Code Tips That use TWAIN

Documentation Links for TWAIN

White Papers Written About TWAIN

  • HTML5 Web Scanning with LEADTOOLS

    TWAIN scanning and document capture is an essential aspect and starting point of most document imaging applications. For web developers, this is a problematic requirement due to the localized, hardware-dependent nature of TWAIN scanners and image capture devices. Many roadblocks await the developer and most often the client is left with tedious and time-wasting inconveniences that make the application difficult to use. LEADTOOLS has developed a Web Scanning SDK that solves many of these obstacles and offers a programmer-friendly and customizable framework for integrating TWAIN scanning into any web-based document imaging solution.

  • End-to-End eDiscovery with LEADTOOLS Document Imaging

    When it comes to change, the desire for efficiency is surely at or near the top of the list of reasons. Some processes and industries are harder to change, especially those that have been around for a long time. Court systems in many countries are one of the oldest and most well established processes to ensure all-around fairness, even if it must sacrifice expediency. Thankfully, the legal industry has taken major strides towards adapting to the digital age with the evolution of eDiscovery and document imaging.

Demo Applications that Include TWAIN

HTML5/JavaScript Web Scanning Interactive Demo

Uses HTML, JavaScript, and a Self-hosted Web Service application or a Java application to demonstrate the LEADTOOLS Web Scanning technology.

  • Scan and upload images from devices in browser-based applications
  • Apply image processing functions to scanned images
  • Print scanned images

NOTE: Client required

  • Windows: A TWAIN device and to download a TWAIN proxy for Windows
  • Linux: A SANE device and to download SANE RPM package

Screenshots of TWAIN

TWAIN

TWAIN

Videos of TWAIN

HTML5 Web Scanning SDK

The LEADTOOLS HTML5 Web Scanning toolkit is an advanced cross-browser application framework which can control any scanner, digital camera, or TWAIN-enabled device from a web application using any HTML5 compliant browser including Internet Explorer, Chrome, Firefox, and more. It uses a self-hosted web service executable to communicate with the scanner and apply image processing. It also includes a server-side File Upload service which can be customized for advanced processing and workflow steps including File format conversion, SharePoint archival, OCR, Barcode and Forms Recognition.

NOTE: Since the release of this video, the Web Scanning Demo and setup utility have been updated. Some portions of the video may not reflect the current released product. There is no longer a separate utility for the Web Services, and the Web Scanning demo has been merged into a single ASP.NET Web API Project. If you have questions regarding this demo, please contact support@leadtools.com.

LEADTOOLS SDK Products that Include TWAIN

All LEADTOOLS SDKs include TWAIN technology. Certain products contain specialized functionality.

LEADTOOLS Imaging Pro v20

LEADTOOLS Imaging Pro includes the tools developers need to add powerful imaging technology to applications. With more than 28 years of imaging development expertise, LEADTOOLS Imaging Pro includes 150+ image formats, image compression, image processing, image viewers, imaging common dialogs, 200+ image display effects, TWAIN and WIA image scanning, screen capture, and image printing.

LEADTOOLS Barcode Pro v20

LEADTOOLS Barcode Pro includes everything developers need to detect, read, and write over 100 different 1D and 2D barcode types and sub-types such as UPC, EAN, Code 128, QR Code, Data Matrix, and PDF417. By building upon the award-winning LEADTOOLS Imaging Pro features, including 150+ image formats, image compression, image processing, image viewers, imaging common dialogs, 200+ display effects, TWAIN and WIA scanning, screen capture, and printing, LEADTOOLS Barcode Pro is one of the best values on the market for barcode imaging technology.

LEADTOOLS PDF Pro v20

LEADTOOLS PDF Pro provides everything developers need to read, write, raster-view, and update PDF files. It also includes advanced capabilities such as the extraction of text, images, hyperlinks, and metadata, manipulation of pages in existing PDF documents, conversion to PDF/A as a real document, linearization, and the LEADTOOLS PDF Optimizer to reduce the size of PDF files. By building upon the award-winning LEADTOOLS Imaging Pro features which includes 150+ image formats, image compression, image processing, image viewers, imaging common dialogs, 200+ display effects, TWAIN and WIA scanning, screen capture, and printing, LEADTOOLS PDF Pro is one of the best values available.

LEADTOOLS Pro Suite v20

LEADTOOLS Pro Suite is a an extensive bundle in the LEADTOOLS Pro line of SDKs and includes HTML5 Zero-footprint image viewers, barcode detect/read/write, advanced PDF read/write/view/edit, 150+ image formats, image compression, image processing, image viewers, imaging common dialogs, 200+ display effects, TWAIN and WIA scanning, screen capture, and printing. Developers using LEADTOOLS Pro Suite can develop robust imaging applications and solutions at a fraction of the cost of similar feature sets found elsewhere on the market.

LEADTOOLS Document Imaging v20
(Includes Fast TWAIN)

Develop powerful document imaging applications with LEADTOOLS Document Imaging. Features include PDF viewing and editing, comprehensive image annotating, specialized bitonal image displaying, and image processing. Other features include performance and memory optimizations for bitonal images, document image cleanup, including inverted text, border, hole-punch, and line removal, and scanning with LEADTOOLS Fast TWAIN and WIA.

LEADTOOLS Recognition v20
(Includes Fast TWAIN)

The LEADTOOLS Recognition Imaging SDK is a handpicked collection of LEADTOOLS SDK features designed to build end-to-end document imaging applications within enterprise-level document automation solutions that require OCR, MICR, OMR, barcode, forms recognition and processing, PDF, print capture, archival, annotation, and image viewing functionality. This powerful set of tools utilizes LEAD's award-winning image processing technology to intelligently identify document features that can be used to recognize and extract data from any type of scanned or faxed form image.

LEADTOOLS Document Imaging Suite v20
(Includes Fast TWAIN)

The LEADTOOLS Document Imaging Suite SDK is a comprehensive collection of LEADTOOLS SDK features designed to build end-to-end document imaging solutions that require OCR, MICR, OMR, ICR, barcode, forms recognition and processing, PDF, HTML5 Zero-footprint viewing, conversion, print, capture, archival, annotation, and image viewing functionality. This powerful set of tools utilizes LEAD's award-winning image processing technology to intelligently identify document features that can be used to recognize and extract data from any type of scanned or faxed form image.

LEADTOOLS Medical Imaging v20
(Includes Fast TWAIN)

Develop powerful Medical Imaging applications with the LEADTOOLS Medical Imaging SDK. Features include comprehensive DICOM data set support, 8-16 bit extended grayscale image support, image annotation, specialized extended grayscale image display such as window level and LUT processing, and medical-specific image processing. Other features include lossless JPEG compression, and signed and unsigned image data processing.

LEADTOOLS PACS Imaging v20
(Includes Fast TWAIN)

Develop robust DICOM PACS applications with LEADTOOLS PACS Imaging. Features include Medical Web Viewer Framework, high and low-level PACS SCP and SCU functions and controls, secure PACS communication, comprehensive DICOM data set support, image annotation, extended grayscale image display such as window level and LUT processing, and specialized medical image processing. Other features include lossless JPEG compression, JPIP, MRTI, and signed and unsigned image data processing.

LEADTOOLS Medical Imaging Suite v20
(Includes Fast TWAIN)

Develop powerful PACS and Medical imaging applications with LEADTOOLS Medical Imaging Suite. Features include LEAD's Zero-footprint HTML5 DICOM Viewer, Medical Web Viewer Framework, Medical 3D, DICOM Multimedia codecs, high and low-level PACS SCP and SCU functions and controls, secure PACS communication, Print to PACS, comprehensive DICOM data set support, image annotation, extended grayscale image display such as window level and LUT processing, DICOM Hanging Protocol, and specialized medical image processing. Other features include lossless JPEG compression, JPIP, and signed and unsigned image data processing.

LEADTOOLS Multimedia Suite v20

The LEADTOOLS Multimedia Suite SDK is a comprehensive collection of multimedia development technology that provides developers with everything they need to create enterprise-level multimedia applications for a wide variety of industries, including defense, broadcast, security, and more. By bundling features from the Multimedia SDK, DVD Module, Streaming Module, MPEG-2 Transport Module, Imaging Pro SDK, and Distributed Computing SDK, Multimedia Suite offers a tremendous value for the world-class technology it provides.