Introduction

The LEADTOOLS TWAIN API provides a powerful set of functions spanning the full spectrum of digital imaging, including in-depth support for image acquisition from a wide variety of hardware devices. This API is included with LEADTOOLS Raster, Vector, Medical, and Document Imaging products.

Key features:

With the LEADTOOLS TWAIN API, you can:

image\sqrblit.gif Control any scanner, digital camera or capture card that has a TWAIN device driver. High-level acquisition support is provided for ease of use. Low-level functionality is also provided for flexibility and control in even the most demanding applications.

image\sqrblit.gif Do anything that your TWAIN v1.9 driver supports. If your TWAIN driver is not v1.9 or does not support a functionality listed below, then LEADTOOLS will support all of the features that the driver has that are compatible with the TWAIN v1.9 specification.

image\sqrblit.gif Give your applications access to the wide variety of devices which can acquire images via TWAIN from manufacturers like Kodak, Hewlett Packard, Microtek, Logitech, Fuji, and others.

The LEADTOOLS TWAIN API can be used to:

image\sqrblit.gif Manage and handle multiple TWAIN sources like scanners, barcode readers, and digital cameras

image\sqrblit.gif Acquire pages from a specified source.

image\sqrblit.gif Use the default user interface included with the TWAIN driver.

image\sqrblit.gif Create your own user interface to the driver interface.

image\sqrblit.gif Negotiate the TWAIN File System used for digital cameras.

image\sqrblit.gif Bypass the interface entirely for completely automated tasks or batch scanning.

image\sqrblit.gif Control the type of image which is acquired (black & white, b/w with halftone, grayscale, color - as supported by the device).

image\sqrblit.gif Control the resolution (dpi), position , size, and orientation of the image to be acquired.

image\sqrblit.gif Use the Automated Document Feeder for single and multi-page scans, including support for duplex scanning.

image\sqrblit.gif Use selection dialogs to allow selection of TWAIN source, or select among multiple TWAIN sources in code.

image\sqrblit.gif Use of native, buffered memory or file transfer modes when acquiring from a TWAIN device.

image\sqrblit.gif Flexibly get and set all TWAIN v1.9 capabilities that the device's TWAIN driver supports.

image\sqrblit.gif Save the device's TWAIN capability settings to a template file, helping to save multiple settings of sources and load them as needed.

image\sqrblit.gif Save multiple source settings and load them as needed.

image\sqrblit.gif Save Memory Buffered Transfer data directly to a file.

image\sqrblit.gif Get the Extended Image Info that some TWAIN scanner drivers support. For example, if the scanner driver supports reading barcodes or patch codes, then that information could be retrieved via LEADTOOLS TWAIN support.

image\sqrblit.gif Use compression support for buffered memory transfer mode. The scan data is compressed using JPEG, RLE, BITFIELDS, GROUP 3, GROUP 4 or PACKBITS to reduce the data transfer bottle neck.

Supported Environments:

LEADTOOLS TWAIN API comes in Win32 and x64 editions that support development of software applications for any of the following environments:

Windows Vista

Windows XP

Windows 2000

Note: x64 Platforms are not supported in the current version of LEADTOOLS due to unavailability of a 64-bit version of TWAIN.  As soon as TWAIN releases 64-bit support, LEADTOOLS will also support x64.

For more information, refer to:

Programming with LEADTOOLS Twain Functions

Tutorials

Demo Programs

Summary of Supported Image File Formats

LEAD Scanning/Capture Support Forum

See Also:

Sample Programs

LEADTOOLS Documentation

Microsoft Code Snippet Picker

LEADTOOLS Support Forums