CipherLab 9400 Series User Manual page 51

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

jpgImageOptions
[in][out] A value that defines whether to optimize JPEG images for either size
or quality.
0
1*
qualityValue
[in][out] A value that defines the image quality. Set a value from 5 to 100,
where "100" represents the highest quality image.
5~100
jpgSizeValu
[in][out] A value that defines the image size. Set a value from 5 to 150, which
represents the file size in multiples of 1024 bytes (1K). For example, setting
this value to 8 permits the file size to be as large as 8192 bytes.
5~150
imageFileFormat
[in][out] A value that defines the image format, in which captured images are
stored.
1*
3
bitsPerPixel
[in][out] A value that defines the number of significant bits per pixel (BPP) to
use when capturing an image. For JPEG files, these BPP settings are ignored for
it always uses 8 bits per pixel!
0
1
2*
Return Value
If successful, it returns 1.
Otherwise, it returns 0.
See Also
GetImageContent, GetImageSize, ReadImage
Optimized for JPEG size
Optimized for JPEG quality
JPEG file format
BMP file format
1 bit per pixel (for black and white images)
4 BPP (to assign 1 of 16 levels of grey to each pixel)
8 BPP (to assign 1 of 256 levels of grey to each pixel)
Call GetErrorCode() to find the error condition encountered:
-253
E_WRONG_READER_TYPE
Chapter 2
65*
40*
Reader API
43

Advertisement

Table of Contents
loading

Table of Contents