Platform |
Win32, x64 |
Purpose |
To get information from a BMP or JPEG data file. |
Syntax |
SUBROUTINE GET_DIB_SIZE@( FILENAME, WIDTH, HEIGHT, NBBP, |
Description |
This routine is similar to GET_IM_INFO@ but returns the number of bits per pixel NBBP as follows: |
NBBP |
Number of colours |
|
1 |
2 |
|
4 |
16 |
|
8 |
256 |
|
24 |
16MB |
For JPEG data the file name must have a .jpg or .jpeg extension. |
|
See also |
GET_DIB_BLOCK@, PUT_DIB_BLOCK@, DIB_PAINT@, USE_GDIPLUS_IMAGE_FILES@ |
Example |