Xbasic
A5_GET_BMP_FROM_FILE Function
Syntax
Data as B = a5_get_bmp_from_file(C filename )
Arguments
- filenameCharacter
The path and filename of a Windows Bitmap .BMP file.
Returns
- DataBinary
A blob variable containing the contents of the bitmap image.
Description
The A5_GET_BMP_FROM_FILE() function reads a Windows Bitmap image into a blob variable.
Example
The A5_GET_BMP_FROM_FILE() function reads a Windows Bitmap image into a blob variable.
bb = a5_get_bmp_from_file("C:\NorthPoleMoon.bmp") ? bb = 0000 : 42 4d 36 00 24 00 00 00 00 00 36 00 00 00 28 00 0010 : 00 00 00 04 00 00 00 03 00 00 01 00 18 00 00 00 0020 : 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 0030 : 00 00 00 00 00 00 4d 41 3d 4d 41 3d 4d 41 3d 4d
See Also