Mail Archives: djgpp/1999/10/21/03:36:13
Heya
> frEk <20014670 AT snatch DOT com> wrote:
>
> > What immediately comes to mind is using a palette sort of truecolor
> like... ie.
> > Instead of for example the hicolor 5-5-5 palette, within 8 bits you use a
> 3-3-2
> > palette which means 3 bits of red, 3 for green, 2 for blue...
>
> I wouldn't. You can't get real grays in a 8 by 8 by 4 cell,
> only approximations. Use the "web safe" palette instead.
What I do in this case is to dither the two together so that close pixels seem
to 'cause a grey... Somewhat like pretening that a laptop RGBs components are
each Black & What components (with antialising)...
Or use HSV although you'd probably get way to many of the same grey colour as
output...
The 6x6x6 palette you were talking about earlier I presume is 6 colours each
(not bits, obviously) 'cause the cube root of 256 floored is 6? Nice palette,
but if you're looking for speed, 3-3-2 is easier to mess around with...
- Raw text -