24vs32 bit...

Friday, July 25, 2003 by EventHorizon | Discussion: WinCustomize Talk

Ive noticed that with generic vid cards, (Like the one I use ) the highest color setting avaliable is 24 bit. (A tad more than 16 million colors) While on other name brand cards, (Nvidia, ATI) will go up to 32 bit... (More than a billion colors if Im not mistaken) Can you tell the difference between 24 and 32 bit? (Like between 16 and 24...Color-banding shows up a lot with 16, but not with 24) And is 32 necessarily better than 24?
First Previous Page 2 of 2 Next Last
MadIce
Reply #21 Saturday, July 26, 2003 5:26 AM
Koasati, let's make it simple and concentrate on the PC and BMP bitmaps. The list at post #19 is the way it is. As a games engine programmer those are the actual color depths one works with. In short: 24-bits is using the same amount of colors as 32-bit. The 8 bits difference are use for the Alpha channel. Some numbers you have shown are wrong. Sorry about that. It is like Frogboy said a matter of powers of 2. You can calculate these values. But his error was that he assumed that all 32 bits are used to store color information. That is nonsense.

What happens with the 8-bits when they are not used? They just take an extra byte (containing 0). WOM is right about that. In TGA or PNG bitmaps that extra byte is used to store Alpha information. BTW in W2K/WXP there is support for 32-bit BMP bitmaps that actually use the Alpha channel. That allows programs like DesktopX to use per pixel alpha blending.

If you read somewhere that 32-bits contains more color information than 24-bits then that information is likely to be incorrect. Maybe some odd hardware or odd graphics format will use the extra 8-bits for color information, but I don't know any.

Anyway. Like I said, the numbers of colors you gave in 24 and 32-bit color depths are incorrect. Even the 256 color format needs explanation. In 8-bit color formats there are 256 colors used, but these colors are actually 24-bits and stored in a table. The color value is just an index in that table.

If you want more information about this then the only reliable sources are the Platform SDK from Microsoft, the reference manuals of the various graphics cards and the programmers reference manuals of the various file formats.

BTW: Don't believe everything Google comes up with.

[Message Edited]
MadIce
Reply #22 Saturday, July 26, 2003 5:37 AM
About the different opinions: Programmers cannot work with things that can be interpreted differently. They are consistent, otherwise software and hardware won't work.
Koasati
Reply #23 Saturday, July 26, 2003 6:44 AM

What you say makes sense MadIce, and a few of the pages I pulled up last night, agree with you.     It's just odd, how many conflicting things you can read on the subject. Take Brad's post, I assumed he knew what he was talking about, since he makes a living with pixels.  





Powered by SkinBrowser!
wombat_1
Reply #24 Saturday, July 26, 2003 7:00 AM
eg, the eye cannot distinguish 16.7 million colour variations, nor can your brain/perception benefit from their use.....


To complicate matters further, anyone over 35 will have trouble with 'correct' colour perception as the retina of the human eye begins to degrade and tends to give a 'yellow' cast to one's colour vision.
Now we know why Jafo is hooked on dark grey .....

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01