CSSN ScanShell 2000 Description page 37

Sdk library
Hide thumbs Also See for ScanShell 2000:
Table of Contents

Advertisement

10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
Parameters
SourceImag
[in]
rotation is performed on the internal image.
DestImage
[in]
– Full path name of the destination file.
Return
If function succeeds, the return the value IMG_ERR_SUCCESS.
If the function fails it returns one of the following values:
LICENSE_INVALID – Library was not initialized with proper license.
IMG_ERR_BAD_DESTINATION – Bad destination parameter (the destination parameter is neither
file or clipboard)
IMG_ERR_FILE_OPEN – C annot open input file. This value is returned if the
string is not empty but it points to a missing or invalid source image file.
INVALID_INTERNAL_IMAGE – This value is returned if the
no document was scanned so there is no internal image in the memory.
IMG_ERR_FILE_SAVE_TO_FILE – Cannot save destination file due to invalid destination file or
disk save error.
Remarks
This function is a shorter version of the function RotateImage(). It takes and input file (if
SourceImage
is not empty) or use the internal image as a source (if
save it to a file. Using different file extension for the source and the destination converts the image type
to the desired type.
Image type conversion must be done carefully since some color schemes are not supported in all file
types. The following table shows the available destination types and the color scheme they as capable
of storing:
Destination image extension
BMP
TIF
JPG
PCX
TGA
PNG
PSD
Important: This table is applicable to all the functions in this library.
Card Scanning Solutions
e – Full path name of the original image file. If this string is empty the
Destination image type
True color
256 colors
(24 bit)
(8 bit)
v
v
v
v
v
v
v
v
v
v
v
SourceImage
SourceImage
string is empty but
SourceImage
is empty) and
Gray scale
Black and
(8 bit)
white (1 bit)
v
v
v
v
v
v
v
v
37

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for CSSN ScanShell 2000

Table of Contents