|
not quite (but close).
a 12bit RGB pixel is composed of 4 bits of red, 4 of green, and 4 of blue. if you have a 16bit variable holding the pixel, it's 0000RRRRGGGGBBBB (where every letter is 1 bit).
a 16bit RGB pixel is:
RRRRRGGGGGGBBBBB (5 reds, 6 greens, 5 blue bits).
the reds you have correct. the greens, you're a little off. you're missing one green bit. for the blue, you've captured an extra green bit.
|