Iimage::readimage - Intermec 700 Series User Manual

Color mobile computer
Hide thumbs Also See for 700 Series:
Table of Contents

Advertisement

Chapter
6
Scanner Support

IImage::ReadImage

ITC_FILE_KIM =
ITC_FILE_TIFF_BIN =
ITC_FILE_TIFF_BIN_GROUP4 = 2,
ITC_FILE_TIFF_GRAY_SCALE = 3,
ITC_FILE_RAW =
ITC_FILE_JPEG =
248
Syntax
HRESULT IImage::ReadImage( ITCFileFormat eFormat, DWORD
nDepth, ITC_IMAGE_SPEC *pImgBuffer, DWORD dwTimeout );
Parameters
eFormat
[in]
0,
// Returns data a KIM file
1,
// TIFF Binary file
// TIFF Binary Group 4 compressed
// TIFF Gray Scale
4,
// Raw image
5,
// JPEG image
nDepth
[in]
pImgBuffer
[in/out] Pointer to a ITC_IMAGE_SPEC structure.
dwTimeout
[in]
Return Values
HRESULT identifying success or error. On error, these will be returned:
S S_OK
S ITC_IMGBUFF_TOO_SMALL_E pImgBuffer is too small to contain
S ITC_TIMEOUT_E
S ITC_INV_PARAMETER_E
S S_DEVICE_NOT_OPENED_E
Remarks
The image is returned in pImgBuffer in the caller specified format.
See Also
None.
Format of the image buffer returned as follows.
Currently, only ITC_FILE_RAW is supported.
Number of bits per pixel. Currently, only eight
(gray-scale) are supported.
Enough memory to hold the entire image must be
allocated by the calling application. For a 640x480
image, this is:
sizeof(ITC_IMAGE_SPEC) + (640*480).
Milliseconds to wait for the image to be returned.
Image successfully returned.
the signature captured image.
Timeout.
One of the parameters is invalid.
The device had not been opened.
700 Series Color Mobile Computer User's Manual

Advertisement

Table of Contents
loading

Table of Contents