8-bit color image uses 1 byte for each pixel storage it means every pixel occupy 8-bit so it is called 8-bit image.The maximum no of color displayed at one time is 256 which is calculated through formula 2^n where n is bits per pixel.
Basically,there is two form of 8-bit color graphics .The most common uses a separate palette of 256 colors,where each of the 256 entries in the palette map to given red,green & blue values.In most color maps each color is chosen from a palette of 2^24 colors but in some cases, thecolor is chosen from palette of 2^12 or 2^18 colors.
The second form in which 8 bits directly describes the red ,green & blue component of pixel.The first 2 bytes is used for Blue ,next three bytes is used for green & last three byte of pixel is used for red.This form is sometime called 8-bit true color Because it does not uses palette at all.
Basically,there is two form of 8-bit color graphics .The most common uses a separate palette of 256 colors,where each of the 256 entries in the palette map to given red,green & blue values.In most color maps each color is chosen from a palette of 2^24 colors but in some cases, thecolor is chosen from palette of 2^12 or 2^18 colors.
The second form in which 8 bits directly describes the red ,green & blue component of pixel.The first 2 bytes is used for Blue ,next three bytes is used for green & last three byte of pixel is used for red.This form is sometime called 8-bit true color Because it does not uses palette at all.
No comments:
Post a Comment