## Acquisition

QPix provides extended acquisition capabilities, supporting all modern image acquisition standards:

TWAIN

  TWAIN is a specification that is commonly used for interfacing applications with scanners and other imaging devices. Available on all platforms: MacOS X, Windows XP and Vista.

Mac OS X Image Capture

  The standard method for interfacing applications with digital cameras on MacOS X. Image Capture is an implementation of the Picture Transfer Protocol (PTP), a standard defined by the Photographic and Imaging Manufacturers Association (PIMA).

Windows Image Acquisition

  The standard method for interfacing applications with digital cameras on Windows. WIA is also an implementation of the Picture Transfer Protocol. Available on Windows XP and Vista.

QuickTime Video

  The standard method for interfacing applications with video cameras on Mac OS X. Available on Mac OS X.

DirectShow Video

  The standard method for interfacing applications with video cameras on Windows. Available on Windows XP and Vista.

### Protocols

In QPix all above acquisition standards are organized into 3 acquisition protocols:

- TWAIN Protocol: covers TWAIN devices on all supported platforms.
- Picture Transfer Protocol: covers MacOS X Image Capture and Windows Image Acquisition.
- Video Protocol: covers QuickTime and DirectShow video.

### Features

QPix provides the following acquisition features:

- Multiple image acquisition

  With a single call an application can digitize all pages from an automatic document feeder unit attached to a scanner, download all pictures from a digital camera, or acquire a series of frames from a video camera.

- Faceless acquisition

  The application can provide one-click acquisition by hiding the device's user interface.

- Direct to disk acquisition

  Image acquisition is done directly to disk, minimizing the application memory requirements.

### Programming interface

All acquisition protocols and features are accessible via a small set of QPix commands:

QPx_AcqTestProtocol | Tests if an acquisition protocol is available on the current machine and OS
QPx_AcqGetDeviceList | Returns all devices that are available through a specific acquisition protocol.
QPx_AcqSelectDevice | Displays the acquisition protocol and device selection dialog.
QPx_AcqGetPicture | Acquires a single image into a 4D picture variable.
QPx_AcqGetSingleImage | Acquires a single image to a disk file.
QPx_AcqGetMultipleImages | Acquires multiple images to disk files.
QPx_AcqRunSession | Runs an acquisition session.
QPx_AcqSetImageFolder | Specifies the location where acquired images are stored
QPx_AcqGetImageFolder | Returns the location where acquired images are stored
QPx_AcqSetNotificationHandler | Specifies the device notification handler
QPx_AcqGetNotificationHandler | Returns the device notification handler

QPix © Escape
Generated by QDoc 2.8 on Wed, Feb 17, 2010 17:45:31