BmpSize()
|
Calculate the size (x,y) of bitmap from file and from resource also.
SYNTAX
BmpSize( cBmpFile) -> aSizeArray
DESCRIPTION:
BitmapSize() returns an array has the following structure:
Position
|
Metasymbol
|
i_bitmap.ch
|
1
|
nWidth
|
BM_WIDTH
|
2
|
nHeight
|
BM_HEIGHT
|
3
|
nBitsPerPixel
|
BM_BITSPIXEL
|
If the file or resource are not found or corrupt, the function BitmapSize() returns an array {0, 0, 4} for compatibility.