Roger,
You should be able to read the file with the LLFF. The dimensions of the BMP up at the beginning of the file. From the MSDN CD:
typedef struct tagBITMAPINFOHEADER {
DWORD biSize;
LONG biWidth;
LONG biHeight;
WORD biPlanes;
WORD biBitCount;
DWORD biCompression;
DWORD biSizeImage;
LONG biXPelsPerMeter;
LONG biYPelsPerMeter;
DWORD biClrUsed;
DWORD biClrImportant;
} BITMAPINFOHEADER;
biSize Specifies the number of bytes required by the structure.
biWidth Specifies the width of the bitmap, in pixels.
biHeight Specifies the height of the bitmap, in pixels. If biHeight is positive, the bitmap is a bottom-up DIB (device-independent bitmap) and its origin is the lower left corner. If biHeight is negative, the bitmap is a top-down DIB and its origin is the upper left corner.
>Is there a way to create a function in FPW2.6 that returns the dimensions (height and width) of a BMP file?