The LEADTOOLS Windows Imaging Architecture (WIA) C++ Class Library 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 C++ Class Library is available in LEADTOOLS version 16 or higher.
The LEADTOOLS WIA C++ Class Library enables you to:
Control any scanner, digital camera, or streaming video device that has a WIA 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.
Acquire pages from a specified source.
Use the default user interface included with the WIA driver.
Determine the currently selected device type at runtime.
Enumerate all available WIA devices and enumerate all child items for certain specified parent item.
Customize the user interface to the driver interface.
Show the camera preview in any parent window you specify, and control the size of the preview inside that parent window.
Bypass the interface entirely for completely automated tasks or batch scanning.
Control the type of image acquired (black and white, halftone, grayscale, or 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 duplex scanning.
Use selection dialogs to select the WIA source, or select among multiple WIA sources programmatically.
Use memory or file transfer mode when acquiring from a WIA device.
Flexibly get and set the most common WIA 1.0 and 2.0 properties that the WIA device driver supports: either many properties at one time using a high level function, or individually get/set any supported WIA property using low level functions.
Use compression support whether in memory or file transfer mode. Scan data can be compressed using JPEG, JBIG, JPEG2K, PNG, RLE, GROUP 3, or GROUP 4 compression.
Work in either the Win32 or the x64 version of Windows using either WIA 1.0 or WIA 2.0. The LEADTOOLS WIA C++ Class Library supports both versions of WIA on both platforms.
Support multi-threading. For more information, refer to Using Multiple Threads in a WIA Application and Communicating with a WIA Device in Multiple Threads or Applications topics in the Microsoft Windows SDK Documentation.
(WIA 1.0 only) Control the captured frames from the camera capture device and save the captured frames directly to your hard disk drive to the path you specify.
LEADTOOLS WIA supports both 32-bit and 64-bit image acquisition for both WIA 1.0 (XP and earlier) and WIA 2.0 (VISTA and later).
WIA 2.0 does not support cameras or streaming video.
If you are using the high-level LWia::AcquireSimple, you do not need to call LWia::InitSession, LWia::SelectDevice, or LWia::EndSession because LWia::AcquireSimple handles session initialization, device selection, and session end automatically.
For more information, refer to: