Does alpha channel really need 8-bits?

  • Thread starter Thread starter Flashbond
  • Start date Start date
  • Tags Tags
    Alpha Channel
AI Thread Summary
The discussion centers on the differences between 16-bit, 24-bit, and 32-bit color depths. It clarifies that 32-bit color includes an additional 8-bit alpha channel, which provides 256 levels of transparency or opacity for each pixel. This alpha channel allows for nuanced transparency rather than a simple binary presence or absence of a pixel. The conversation also touches on the technical aspects of color representation, emphasizing that the alpha channel functions similarly to the RGB components, where each channel (red, green, blue, and alpha) can be represented with values ranging from 0 to 255. The importance of having more than 1-bit for the alpha channel is highlighted, as 1-bit would only allow for full transparency or full opacity, lacking any translucency. The preference for using 256 levels is attributed to the convenience of working within a base-16 framework, common in engineering contexts.
Flashbond
Messages
19
Reaction score
1
Hi,

I am looking for the differences between 16-bit, 24-bit and 32-bit colors for a while. I saw that actually 32-bit color is also like 24-bit color but plus 8-bit alpha channel. Since 8-bit information represents 256 possible values for each color channel, what does 8-bit do exactly for alpha channel to store color or transparency info?

I hope I didn't ask a stupid thing. Thanks a lot!
 
Computer science news on Phys.org
Flashbond said:
Hi,

I am looking for the differences between 16-bit, 24-bit and 32-bit colors for a while. I saw that actually 32-bit color is also like 24-bit color but plus 8-bit alpha channel. Since 8-bit information represents 256 possible values for each color channel, what does 8-bit do exactly for alpha channel to store color or transparency info?

I hope I didn't ask a stupid thing. Thanks a lot!
For those folks (like me) who had no idea what you are asking about, here is a link: https://en.wikipedia.org/wiki/RGBA_color_space

Are you asking specifically about Photoshop? This thread probably belongs in one of the technical forums -- Physics or Computing?

EDIT -- Thread moved by the Mods to Computing. :smile:
 
Last edited:
  • Like
Likes Flashbond
Ah, ok I got my answer. It holds the percentage information of the alpha channel. This makes sense. Otherwise 8-bit channel badwidth wouldl be very unneccesarry if it was only holding transparent or not. Thanks a lot!
 
Hey, always happy to help... :wink:
 
It's exactly the same as the other components, why would it be any different? r is a 0-255 value for how intense the red part of the color is, a is how intense the alpha is.
 
The alpha channel could use any depth from not existing, 1 -bit and up depending on you needs.
 
glappkaeft said:
The alpha channel could use any depth from not existing, 1 -bit and up depending on you needs.
You can’t use 1 bit for alpha. That’s not alpha, that’s masking. 1 bit would give you the option of having the pixel fully there or not at all, no transluscency at all.
 
newjerseyrunner said:
You can’t use 1 bit for alpha. That’s not alpha, that’s masking. 1 bit would give you the option of having the pixel fully there or not at all, no transluscency at all.
Yes, in this case I must agree with @newjerseyrunner because alpha must able to have at least 101 value in order to represent transparency percentage.
 
Yeah, but because engineers tend to think in base 16 rather than base 10, 100 would be completely arbitrary. Thinking of parts per 256 is simply easier when you do base 16 stuff all day.
 
Back
Top