not 100% sure how im meant to read the image file and verify the first two cahracters are 'B' and 'M'
using this struct:
The first two characters 'B' and 'M' indicate that this is a BMP file and their presence must be verified before any further analysis takes place.,Code:typedef struct
{
unsigned char fileMarker1; /* 'B' */
unsigned char fileMarker2; /* 'M' */
unsigned int bfSize;
unsigned short unused1;
unsigned short unused2;
unsigned int imageDataOffset; /* Offset to the start of image data */
}FILEHEADER;
any little advice for this would be very helpful
Igor