Asger K. Alstrup Nielsen wrote:

> You are both using a RGB color model, but this is not relevant.
> Even with a HSL or Munsell color space, the transformation would
> be the same: You want the Most Significant Bits.
> Why? Because you loose more information by dropping more significant
> bits.
> 
> So, you should take the upper 8 bits, and if you want to do better
> than that, round according to the 7th bit.


I want to understand, so please give an answer to this:

r/g or b has a range from 00000000 to 11111111 or only 6 bits
for some graphic cards.
converting to for example 4 bit could'nt only take the significant
nibble ...

Herbert



-- 
http://www.lyx.org/help/

Reply via email to