10350 Santa Monica Blvd. Suite 285, Los Angeles, CA 90025
Phone: 310-691-8920, 310-788-9840, Fax: 419-735 -2419
Card Scanning Solutions
39
Image reformat can be done either on the image color scheme or the image dpi or both. Notice that
changing the image format may lose the image color information (e.g., when converting from 24 bit
true color to 256 gray scale). Modifying and image format from 256 gray scales to 24 bit true color will
(obviously) not add color to the image but it will save the image with the proper RGB format (no color
map) instead of or using 256 gray scale palette.
After the image is reformatted it can be exported to external image file. The destination file name may
be one of the seven file formats indicated above. If the destination file name has unrecognizable
extension the function exports to the fi le in a BITMAP format (the default format). If no destination
image file name is given (empty string) no save is done.
Important: The 256 colors scheme is NOT supported for JPG and TIF files.
1.1.45.
ConcatenateImage
Type
Function.
Format
Parameters
[in]
SourceImage0
– Full path name of the first image.
[in]
Angle0
– The angle to rotate SourceImage0 before the combination.
[in]
SourceImage1
– Full path name of the second image.
[in]
Angle1
– The angle to rotate SourceImage0 before the co mbination.
[in]
CombType
– The location of the images in the result image file:
IMAGE_COMB_HORIZONTAL
– SourceImage0 is located to the left of SourceImage1
IMAGE_COMB_VERTICAL
- SourceImage0 is located above SourceImage1.
[in]
DestType
– The destination of the rotated image. This parameter may be one of two values:
SAVE_TO_FILE
: Save the image to a file. The file name should be given in
DestImage
parameter.
SAVE_TO_CLIPBOARD
: Copy the rotated image the image to the clipboard.
[in]
DestImage
– Full path name of the destination file. This parameter is ignored if the parameter
DestType
is set to
SAVE_TO_CLIPBOARD
.
Return
If function succeeds, the return the value
IMG_ERR_SUCCESS
.
ConatenateImage( _
SourceImage0
As String, _
Angle0
As Long, _
SourceImage1
As String, _
Angle1
As Long, _
CombType
As Long, _
DestType
As Long, _
DestImage
As String _
)