Color buried treasure

Andres Valloud sqrmax at cvtci.com.ar
Sat Feb 27 02:21:31 UTC 1999


Hi Dan.

>I'm happy to say that this is actually documented in the class comment of 
>BitBlt.  I quote...
>"[etc] ... 4096 (4 bits per color) and 32786 (five bits per color)."

May I say that... I mean, this is so insignificant and still... 2^15 = 32768. 

I've read your suggestions and I think I'll get it down to 15 bit, then Heckbert
and then I'll have my handy 8 bit deep color form to get into a .GIF file. I was
also thinking about writing simple bitmapped files, like implementing a BMP
writer or something. Say, the color map... how does BitBlt do to pick the
correct color in the color map? By taking pixelValue + 1 at the current
position?

Andres.





More information about the Squeak-dev mailing list