Resulting Width = Specified Width * Specified Resolution
Resulting Height = Specified Height * Specified Resolution
IImage::ReadImage
ITC_FILE_KIM =
ITC_FILE_TIFF_BIN =
ITC_FILE_TIFF_BIN_GROUP4 =
ITC_FILE_TIFF_GRAY_SCALE =
ITC_FILE_RAW =
ITC_FILE_JPEG =
700 Series Color Mobile Computer User's Manual
The dimensions of the resulting image can be calculated with this formula:
See Also
None.
Syntax
HRESULT IImage::Read( ITCFileFormat eFormat, DWORD nDepth,
ITC_IMAGE_SPEC *pImgBuffer, DWORD dwTimeout );
Parameters
eFormat
[in]
0,
// Returns data a KIM file
1,
// TIFF Binary file
2,
// TIFF Binary Group 4 compressed
3,
// TIFF Gray Scale
4,
// Raw image
5,
// JPEG image
nDepth
[in]
pImgBuffer
[in/out] Pointer to the buffer containing the image.
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.
Chapter
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.
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.
6
—
Scanner Support
225