Berkeley CSUA MOTD:Entry 13767
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/04 [General] UID:1000 Activity:popular
4/4     

1998/3/6-8 [Computer/SW/Languages/Misc] UID:13767 Activity:low
3/05    How do 16-bit and 32-bit color schemes work?  Which bits do what?
        Thanks.
        \_ 16: generally, either 5-5-5 (1 bit unused or alpha channel),
           6-5-5, 5-6-5, or 5-5-6.  32: 8-8-8 (8 bits alpha).  If you
           have really expensive hardware, sometimes 10-10-10.  These
           are RGB implementations, obviously.  You can also use the
           16-bit value to reference a TrueColor (24/32 bits) palette.
           \_ Other strategies are separate 32-bit into 3 10-bit numbers,
              and then each number is an index into a different table to
              retrieve primary color value.  Also, you have to consider
              possible double buffering.  Not all systems use RGB either,
              your color model may be HSV.  There are equivalent matrices
              to convert one color model to another.  Also, note that
              there are perceivable colors not representable by a positive
              combination of RGB.
              possible double buffering and z-buffering.  Not all systems
              use RGB either, your color model may be HSV.  There are
              equivalent matrices to convert one color model to another.
              Also, note that there are perceivable colors not representable
              by a positive combination of RGB.
           \_ What is "alpha" then?  Thanks again.
              \_ It provides a way to combine (or blend) RGB values together
                 to achieve special effects such as transparency.  In normal
                 applications, pixel values are overwritten, but that does
                 not have to be.  You can combine old RGB value with new
                 RGB value and blends them together.
2025/04/04 [General] UID:1000 Activity:popular
4/4     

You may also be interested in these entries...
2010/12/11-2011/2/19 [Computer/SW/Languages/Perl] UID:53984 Activity:nil
12/11   Anyone have experience with Perl PDF::API2 or PDF::API3?  Can you
        point me to a good tutorial for creating a simple document (a small
        table of 2-3 rows and a single image)?
	...
2010/7/21-8/9 [Computer/SW/OS/FreeBSD] UID:53890 Activity:nil
7/21    Can I just use ifconfig to expand my netmask on a FreeBSD box?
        Are there any gotchas here? Linux forces me to restart my network
        to expand my netmask.
        \_ yes... and no, you don't have to restart your network on linux either
           \_ Rebooting is the Ubootntoo way!
              \_ Oooboot'n'tootin!
	...