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 a 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?
|
|
Explanation: Every bitmap file contains the following data structures:
▪ File header: The first part of a bitmap file is the header, which includes data about the type, size, and layout of the file
▪ Information header: It is a header component that contains the dimensions, compression type, and color format of the bitmap
▪ RGBQUAD array: It is a color table that comprises the array of elements equal to the colors present in the bitmap; this color table does not support bitmaps with 24-bit color, as each pixel is represented by 24-bit RGB values in the actual bitmap
▪ Image data: It is an array of bytes that contains bitmap image data; image data comprises color and shading information for each pixel
|
|