Windows Image Acquisition Library 2.0 (by Microsoft)


Introduction

This FREE imaging toolkit is available for developers who need to develop image-enabled applications for Windows ME and XP (Service Pack 1). A copy of the toolkit is available for download from the Microsoft download website. A major limitation of this toolkit is that other versions of Windows are not supported. However, it's FREE!

This imaging toolkit is a high-quality, full-featured image manipulation component that provides end-to-end image processing capabilities for Microsoft Visual Basic, Active Server Pages and scripting languages. The WIA Automation Layer exposes features in Windows XP Service Pack 1 or later to make it easy to acquire images on digital cameras, scanners, or web cameras, and to rotate, scale, and annotate your image files.

Supported image formats include PNG, JPG, GIF, BMP and TIFF. 


Samples

The toolkit also includes samples to help developers understand how to use the features and functions available. The samples are:

VB 6 Samples

1. ImageFile - Demonstrates image manipulation using the ImageFile object.
2. Minimal - Smallest amount of code necessary (1 line) to select a device, select an
    image, and transfer it from the device.
3. Widget - An interesting gizmo for exploring item properties and such.

Scripting Samples

1. VideoPreview.htm - Demonstrates using the Video Preview control in a webpage.
2. DeviceList.htm - Enumerates all the cameras connected to your computer and lists
    their static properties.
3. DeviceList2.htm - Enumerates all the cameras connected to your computer and
    opens a connection to each and then lists the root item properties.
4. browse.asp - Quick and dirty ASP page that browses the directory tree of images
    and does interesting things using the ImageFile object's BinaryData property.
5. webcam.asp - Quick and dirty ASP page that displays the current image from a
    connected webcam
6. imageinfo.vbs - Demonstrates using an ImageFile object from script
7. persist.wsf - Demonstrates calling RegisterPersistentEvent and
    UnregisterPersistentEvent


Setup

The Ilixis Developer's Corner is providing a service to developers by hosting this toolkit. The toolkit can be downloaded here (Zip file - 520 Kb). However, any support issues should be directed to Microsoft Corporation.

The toolkit contains 3 main files - wiaaut.dll, wiaaut.chm and wiaaut.chi. Copy the .chm and .chi files into the system help directory (normally found in c:\windows\help) and copy the .dll file into the system32 directory (normally found in c:\windows\system32). The wiaaut.dll file will also need to be registered. This can be done by issuing the following command "regsvr32 wiaaut.dll" from the system32 directory in the command prompt.

Developers using wiaaut.dll are granted license to freely redistribute the library with their application as detailed in the redist.txt file inside the zip.




 


  Developer's Corner
 
Imaging Toolkits
TWAIN
Image Formats
Color Spaces
Auto Recognition
Useful Links
WIA 2.0 Toolkit
Download