TWAIN Key Features

By adding LEADTOOLS TWAIN capabilities to your application, you can:

§ Get/Set all TWAIN v1.9 capabilities that the device's TWAIN driver supports

§ 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

§ Use selection dialogs to allow selection of TWAIN source, or select among multiple TWAIN sources in code

§ Scan with or without a scanner interface

§ Query the scanner for faster settings

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

§ Use native, buffered memory, or file transfer modes when acquiring from a TWAIN device

§ Save buffered memory and transfer data directly to a file

§ Compress buffered memory transfer data using JPEG, RLE, BITFIELDS, GROUP 3, GROUP 4 or PACKBITS to reduce the data transfer bottle neck

§ Export/Import custom settings

§ Save the device's TWAIN capability settings to a template file, in order to save multiple source settings and load them as needed

§ 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 supplied events and callbacks to code your own special per-page processing

§ Get the Extended Image Info that some TWAIN scanner drivers support, such as reading barcodes or patch codes

§ Access digital camera TWAIN file systems, including:

q Format Media

q Create Directory

q Change Directory

q Automatic Capture Directory

q Get Information

q Get First File

q Get Next File

q Close File

q Rename

q Copy

q Delete

§ Get and Set TWAIN JPEG 1.1 compression during a buffered transfer. The following TWAIN messages are implemented:

q DG_IMAGE / DAT_JPEGCOMPRESSION / MSG_GE

q DG_IMAGE / DAT_JPEGCOMPRESSION / MSG_GETDEFAULT

q DG_IMAGE / DAT_JPEGCOMPRESSION / MSG_RESET

q DG_IMAGE / DAT_JPEGCOMPRESSION / MSG_SET

§ Negotiate the most frequently used capabilities with TWAIN high-level functions, including:

q ICAP_XFERMECH

q ICAP_IMAGEFILEFORMAT

q ICAP_COMPRESSION

q ICAP_XRESOLUTION

q ICAP_YRESOLUTION

q ICAP_FRAMES

q ICAP_UNITS

q ICAP_BITDEPTH

q ICAP_BRIGHTNESS

q ICAP_CONTRAST

q ICAP_HIGHLIGHT

q ICAP_ORIENTATION

q ICAP_SUPPORTEDSIZES

q DG_IMAGE / DAT_RGBRESPONSE / MSG_RESET

q DG_IMAGE / DAT_RGBRESPONSE / MSG_SET

q CAP_INDICATORS

q CAP_DUPLEXENABLED

q CAP_DUPLEX

q CAP_XFERCOUNT