4 - 8
5X80 Series Software Development Kit (SDK) User’s Guide
DWORD
dwCompressionFactor;
Lossy compression is JPEG lossy. If lossy compression, this
value specifies the image quality percentage from 100 (virtually
no loss) to 1 (very poor). Image size drops with decrease in
image quality.
DWORD
dwEdgeEhancement;
A sharpening filter used to sharpen light/dark edges within the
image. The valid range of values is 0 (no edge enhancement)
to 23 (maximum edge enhancement).
DWORD
dwGammaCorrection;
Applies gamma correction to the image. The valid range is 0 (no
gamma correction) to 1000 (maximum correction).
DWORD
dwTextEnhancement;
This filter is an edge sharpening filter optimized for text. The
valid range is 0 (no text enhancement) to 255 (maximum
enhancement).
BOOL
bInfinityFilter;
This is a boolean flag (TRUE or FALSE) that applies a filter to
the image that sharpens objects beyond the normal focal dis-
tance of the imager.
BOOL
bFlipImage;
This is a boolean flag (TRUE or FALSE) that flips the image
180°
BOOL
bNoiseFilter;
This is a boolean flag (TRUE or FALSE) that enables or dis-
ables the imager smoothing filter.
Transfer time only, not stored in imager:
HWND
hTransferNotifyHwnd;
The user-defined window message.
WM_HHP_PROGRESS_HWND_MSG (wParam is bytes so far,
lParam is bytes to send) will be sent if this member mask speci-
fied and its value is a valid windows handle.
PDWORD
pdwTransferPercent;
If non-NULL and specified in MASK, the percent complete of
the transfer is placed here. It is up to the caller to check the
value in a thread or timer callback.
} HHP_IMAGE_TRANSFER, *PHHP_IMAGE_TRANSFER;
Data structure for captured image: hhpAcquireImage(), hhpGetLastImage() and hhpGetAsyncResult(). Not stored in im-
ager.
typedef struct _tagHHP_IMAGE
{
DWORD
dwStructSize;
Size of structure in bytes.
PBYTE
puchBuffer;
Buffer for image.
LONG
nBufferSize;
Size of buffer in bytes.
FileFormat_t
fileFormat;
Format for returned data.
DWORD
dwJpegQFactor;
JPEG Quality Factor.
LONG
nBytesReturned;
Number of bytes returned.
SIZE
imgSize;
Size of image returned.
LONG
nCapturedFrames;
Number of frames captured prior to this image.
LONG
nGain;
Gain value used to capture this image.
LONG
nExposureTime;
Exposure time used to capture this image.
LONG
nUnderexposedPixels;
Number of underexposed pixels in image.
LONG
nOverexposedPixels;
Number of overexposed pixels in image.
} HHP_IMAGE, *PHHP_IMAGE;
Other Imager Configuration Structures and Defines
Beeper member valid bitmasks:
#define BPMASK_ON_DECODE
0x00001
Beep on successful decode.
#define BPMASK_SHORT_BEEP
0x00002
Beep on imager reset.
#define BPMASK_MENU_CMD_BEEP 0x00004
Beep on receive menu command.
#define BPMASK_BEEP_VOLUME
0x00008
Set the beeper volume.
Summary of Contents for 5080
Page 6: ...iv 5X80 Series Software Development Kit SDK User s Guide ...
Page 14: ...1 8 5X80 Series Software Development Kit SDK User s Guide ...
Page 50: ...4 14 5X80 Series Software Development Kit SDK User s Guide ...
Page 60: ...6 8 5X80 Series Software Development Kit SDK User s Guide ...
Page 62: ...7 2 5X80 Series Software Development Kit SDK User s Guide ...
Page 63: ......