Mail Archives: djgpp/2001/06/13/09:30:26
No palette in 16, 24 and 32 bit modes. Instead the pixel value itself
contains RGB values (it is not an index like in 8bit modes).
Note that 24 and 32 bit (TrueColor) modes are basically the same, the fourth
byte is not really used and is there so that you have pixels nicely 32bit
aligned (to speed up video RAM access).
"PM" <paulm14 AT home DOT com> wrote in message news:3B26A50C DOT B926BE12 AT home DOT com...
> Ok so when talking about colour considerations when programming in the
> different colour depths, is this right?
>
> When programming in 256 colour or 8 bit mode, a palette is used, which
> is an 256 elemented array of the RGB structure. Correct?
> The palette is used to manipulate colour.
>
> When programming in high colour or true colour, what is used to
> manipulate colour here? is an array of 16 million RGB Structures used?
>
> --
> Thanks in advance,
> Paul M.
> paulm14 AT home DOT com
>
- Raw text -