Scanning / Capturing

*TWAIN Scanning / TWAIN Capture: Scanners, Digital cameras, Capture cards

LEADTOOLS provides a powerful set of tools spanning the full spectrum of digital imaging, including in-depth support for image acquisition through industry standard interfaces from a wide variety of hardware devices.

With LEADTOOLS you can control any scanner, digital camera or capture card that has a TWAIN device driver. High-level acquisition support is provided for ease of use, and low-level functionality is provided for flexibility and control in even the most demanding applications.

Using LEADTOOLS *TWAIN capabilities, your application can:

use the default user interface included with the *TWAIN driver.

create your own user interface to the driver interface.

bypass the interface entirely for completely automated tasks or batch scanning.

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

control the resolution (dpi), position , size, and orientation of the image to be acquired.

use the Automated Document Feeder for single and multi-page scans, including support for duplex scanning.

use supplied events and callbacks to code your own special per-page processing

use selection dialogs to allow selection of TWAIN source, or select among multiple TWAIN sources in code.

use of native, buffered memory or file transfer modes when acquiring from a TWAIN device.

flexibility to get and set all TWAIN v1.9 capabilities that the device's TWAIN driver supports.

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

buffered memory transfer mode includes compression support. The scan data is compressed using JPEG, RLE, BITFIELDS, GROUP 3, GROUP 4 or PACKBITS to reduce the data transfer bottle neck.

perform the save of the Memory Buffered Transfer data directly to a file.

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.

access digital cameras using TWAIN. LEADTOOLS provides the functionality to negotiate a TWAIN file system, used for accessing digital cameras, with the following:

Change Directory

Create Directory

Delete

Format Media

Close File

Get First File

GetInformation

Get Next File

Rename

Copy

Automatic Capture Directory

get and set TWAIN  JPEG compression. LEADTOOLS provides the functionality to describe the information necessary to transfer a JPEG-compressed image during a buffered transfer. Images compressed in this fashion will be compatible with the JPEG File Interchange Format, version 1.1. The following TWAIN messages are implemented:

DG_IMAGE / DAT_JPEGCOMPRESSION / MSG_GE

DG_IMAGE / DAT_JPEGCOMPRESSION / MSG_GETDEFAULT

DG_IMAGE / DAT_JPEGCOMPRESSION / MSG_RESET

DG_IMAGE / DAT_JPEGCOMPRESSION / MSG_SET

negotiate the most frequently used capabilities with TWAIN high-level functions with no need to go to basic set/get capability functions to set/get their capabilities. These functions negotiate the following capabilities:

ICAP_XFERMECH

ICAP_IMAGEFILEFORMAT

ICAP_COMPRESSION

ICAP_XRESOLUTION

ICAP_YRESOLUTION

ICAP_FRAMES

ICAP_UNITS

ICAP_BITDEPTH

ICAP_BRIGHTNESS

ICAP_CONTRAST

ICAP_HIGHLIGHT

ICAP_ORIENTATION

ICAP_SUPPORTEDSIZES

DG_IMAGE / DAT_RGBRESPONSE / MSG_RESET

DG_IMAGE / DAT_RGBRESPONSE / MSG_SET

CAP_INDICATORS

CAP_DUPLEXENABLED

CAP_DUPLEX

CAP_XFERCOUNT

With the LEADTOOLS *TWAIN support, you can do anything that your TWAIN v1.9 driver supports. If your TWAIN driver is not v1.9 or does not support a functionality listed above, then LEADTOOLS will support all of the features that the driver has that are compatible with the TWAIN v1.9 specification.

LEADTOOLS *TWAIN support gives 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 many more.

*NOTE: At the time of release, 64-bit TWAIN and related drivers were not available. As soon as 64-bit TWAIN becomes available, LEADTOOLS will release 64-bit TWAIN support.

Screen Capture

LEADTOOLS provides functions for capturing all or part of the screen. The result can then be used with any of the LEADTOOLS image processing functions and can be saved in any of the more than 150 file formats that LEAD supports.

With the LEADTOOLS Capture feature you can capture the:

Entire screen

Active window

Menu under cursor

Window under cursor (button, tool bar, icon, or client area)

Selected object

Mouse cursor

Wallpaper

LEADTOOLS also allows for capture of a selected area of the screen in a wide array of shapes such as:

Rectangle

Rounded rectangle

Ellipse

Polygon or freehand

Bitmap, Icon and Cursor resources can be captured from 16 or 32-bit Windows EXE and DLL files. Options include:

Multi-capture with callback

Hot Keys

Time interval

Supported Platforms

Scanning/Capturing API

Scanning/Capturing Class Library

Scanning/Capturing .NET and COM