how many color combinations in a 24 bit image

Posted by numerical25 on Stack Overflow See other posts from Stack Overflow or by numerical25
Published on 2010-05-23T15:25:06Z Indexed on 2010/05/23 15:30 UTC
Read the original article Hit count: 222

I am reading a book and I am not sure if its a mistake or I am misunderstanding the quote. It reads...

Nowadays every PC you can buy has hardware that can render images with at least 16.7 million individual colors. Rather than have an array with thousands of color entries, the images instead contain explicit color values for each pixel. A 24-bit display, of course, uses 24 bits, or 3 bytes per pixel, for color information. This gives 1 byte, or 256 distinct values each, for red, green, and blue. This is generally called true color, because 256^3 (16.7 million)

He says 1 byte is equal to 256 distinct values. 1 byte = 8 bits. 8^2 bits = 64 distinct colors right ?? It's not adding up right to me. I know it might be something simple to understand, but I don't understand.

© Stack Overflow or respective owner

how many color combinations in a 24 bit image

Posted by numerical25 on Stack Overflow See other posts from Stack Overflow or by numerical25
Published on 2010-05-23T15:23:39Z Indexed on 2010/05/23 15:30 UTC
Read the original article Hit count: 222

Filed under:
|
|
|

I am reading a book and I am not sure if its a mistake or I am misunderstanding the quote. It reads...

Nowadays every PC you can buy has hardware that can render images with at least 16.7 million individual colors. Rather than have an array with thousands of color entries, the images instead contain explicit color values for each pixel. A 24-bit display, of course, uses 24 bits, or 3 bytes per pixel, for color information. This gives 1 byte, or 256 distinct values each, for red, green, and blue. This is generally called true color, because 256^3 (16.7 million)

He says 1 byte is equal to 256 distinct values. 1 byte = 8 bits. 8^2 bits = 64 combinations of colors right ?? It's not adding up right to me. I know it might be something simple to understand, but I don't understand.

© Stack Overflow or respective owner

Related posts about c

    Related posts about visual-studio