10350 Santa Monica Blvd. Suite 285,
Phone: 310-691-8920, 310-788-9840, Fax: 419-735-2419
Card Scanning Solutions 35
Parameters
[in] FileName – Image file name or empty string if evaluating the internal image.
Return
IMG_ERR_FILE_OPEN: Cannot open input image file.
INVALID_INTERNAL_IMAGE: Internal image is invalid and cannot be analyzed.
IMAGE_BW – The image has Black and White colors (1 bit image).
IMAGE_GRAY_256 - The image has 256 colors of gray (8 bit image).
IMAGE_COLOR_256 - The image has 256 colors (8 bit image).
IMAGE_COLOR_TRUE - The image has 16 million (24 bit image).
Remarks
Use this function to obtain the image color scheme.
1.1.42. RotateImage
Format
Parameters
[in] SourceImage – Full path name of the original image file. If this string is empty the
rotation is performed on the internal image.
[in] Angle – The angle to rotate the original image. This value can be one of the following values:
ANGLE_0 : 0 degrees rotation
ANGLE_90: 90 degrees rotation
ANGLE_180: 180 degrees rotation
ANGLE_270: 270 degrees rotation
[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. If this value is an empty string no save will be
performed.
Return
If function succeeds, the return the value IMG_ERR_SUCCESS.
SourceImage As String, _
Angle As Long, _
DestType As Long, _
DestImage As String _
)
GetImageColor (FileName As Integer) As Long