Intermec 700 Series User Manual page 199

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

Advertisement

Scanner Support
Returns:
6-66
700 Series Color Mobile Computer User's Manual
eFormat
Format of the image buffer returned as follows.
Currently, only ITC_FILE_RAW is supported.
ITC_FILE_KIM =
ITC_FILE_TIFF_BIN =
ITC_FILE_TIFF_BIN_GROUP4 =
ITC_FILE_TIFF_GRAY_SCALE =
ITC_FILE_RAW =
ITC_FILE_JPEG =
eDepth
Number of bits per pixel. Currently, only one
(monochrome) or eight (gray-scale) are supported.
pImgBuffer
[out]
typedef struct tagITCImageSpec
{
DWORD
dwStructSize;
LONG
biWidth;
LONG
biHeight;
WORD
biBitCount;
ITC_FILE_FORMAT eFormat;
DWORD
biActualImageSize;
DWORD
biMaxImageBytes;
BYTE
rgbImageData[1];
} ITC_IMAGE_SPEC;
where:
dwStructSize
biWidth
biHeight
biBitCount
eFormat
biActualImageSize
biMaxImageBytes
rgbImageData
HRESULT identifying success or error. On error, the following codes will be
returned:
S_OK
Image successfully returned.
ITC_RESULT_ERR_BADREGION_E
The specified region is not in the image.
ITC_RESULT_NO_BC_DECODED_E
A bar code has not yet been decoded or the last bar code decoded was not
a signature capture symbology.
ITC_IMGBUFF_TOO_SMALL_E
pImgBuffer is too small to contain the signature captured image.
ITC_INV_PARAMETER_E
One of the parameters is invalid.
S_DEVICE_NOT_OPENED_E
The device had not been opened.
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
Pointer to the buffer in which the signature capture
image will be put.
Size, in bytes, of this struct. This is for version
control.
The width of each row in pixels.
The number of rows in the image data.
The number of bits per pixel.
Identifies the image format.
Total bytes of image data returned.
Maximum bytes that can be stored in
rgbImageData[].
Buffer containing the actual data, for example a
640x480 uses a 307200-byte buffer. The array size
of this buffer is arbitrary so do not use this
structure directly to reserve memory. The actual
dimension of the buffer is identified by
biMaxImageBytes.
SECTION 6

Advertisement

Table of Contents
loading

Table of Contents