312-49 · Question #160
BMP (Bitmap) is a standard file format for computers running the Windows operating system. BMP images can range from black and white (1 bit per pixel) up to 24 bit color (16.7 million colors). Each…
The correct answer is B. The RGBQUAD array. The BMP file structure consists of: (1) File Header - identifies the file as a BMP and stores file size and pixel data offset; (2) Information Header (BITMAPINFOHEADER) - stores the bitmap's width, height, color depth, compression type, and color format; (3) RGBQUAD array - the…
Question
BMP (Bitmap) is a standard file format for computers running the Windows operating system. BMP images can range from black and white (1 bit per pixel) up to 24 bit color (16.7 million colors). Each bitmap file contains header, the RGBQUAD array, information header, and image data. Which of the following element specifies the dimensions, compression type, and color format for the bitmap?
Options
- AHeader
- BThe RGBQUAD array
- CInformation header
- DImage data
How the community answered
(38 responses)- A5% (2)
- B89% (34)
- C3% (1)
- D3% (1)
Explanation
The BMP file structure consists of: (1) File Header - identifies the file as a BMP and stores file size and pixel data offset; (2) Information Header (BITMAPINFOHEADER) - stores the bitmap's width, height, color depth, compression type, and color format; (3) RGBQUAD array - the color table/palette mapping index values to RGB colors, used only in indexed-color bitmaps; (4) Image data - the raw pixel data. The Information Header (C) is the component that specifies dimensions, compression, and color format. The marked answer B (RGBQUAD array) describes the color palette, not dimensions or compression. This appears to be an error in the exam answer key - the correct technical answer is C.
Topics
Community Discussion
No community discussion yet for this question.