10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
Card Scanning Solutions
40
If the function fails it returns one of the following values:
LICENSE_INVALID
– Library was not initialized with proper license.
IMG_ERR_BAD_ANGLE_0
– Bad rotation parameter for Image 0.
IMG_ERR_BAD_ANGLE_1
– Bad rotation parameter for Image 1.
IMG_ERR_FILE_OPEN_FIRST – Cannot open
SourceImage0
file.
IMG_ERR_FILE_OPEN_SECOND – Cannot open
SourceImage1
file.
IMG_ERR_BAD_DESTINATION
– Bad destination parameter (the destination is neither file or
clipboard)
IMG_ERR_COMB_TYPE – Bad
CombType
value.
IMG_ERR_FILE_SAVE_TO_CLIPBOARD
– Cannot save image to clipboard due to an error.
IMG_ERR_FILE_SAVE_TO_FILE
– Cannot save destination file due to a bad destination path or
disk error.
Remarks
Use this function to combine two image files into a single image file. The function works in the
following sequence:
Imports
SourceImage0
to an image object 0.
Rotate image object0 by
Angle0
Imports
SourceImage1
to an image object 1.
Rotate image object1 by
Angle1
Combine Image0 and Image1 one on top of each other (if
CombType
is equal
IMAGE_COMB_VERTICAL
) or one to the left of the other (if
CombType
is equal
IMAGE_COMB_ HORIZONTAL
).
Save the result image to an external file or to the clipboard.
Notice:
This function can work only on image files and not on the internal image.