Converting 8bit colour components to 4bit
How do YOU do it?
I guess the simplest way is to >> 4
But... then $EF as an 8 bit component is closer to $F (as a 4bit) than it is to $E
I know that when converying from 4bit to 8bit, the general concensus is to use $xyz -> $xxyyzz (ie. $4C3 would become $44CC33), but going back the other way there are issues perhaps ?
|