Colors

Dan Ingalls DanI at wdi.disney.com
Tue Apr 14 19:56:39 UTC 1998


>Are there any docs on the image formats that Squeak can pass to
>ioShowDisplay()? It seems to use 8 bit colormap by default. Is there
>any way to change the default setting to something like standard
>24 bit color?

Sure.

In the help... menu choose set display depth...  1, 2, 4, 8 will give you color-mapped format with pixels close-packed.  16 and 32 will give you 5 and 8 bits each of r,g,b, with the high bit ignored in 16 bits and the high byte ignored in 32 bits.  All scan lines are an integral number of 32-bit words wide.

The only way of establishing a "default" is to set the bit depth in all your projects (if you have more than one).  From that point on, your display should always be in that bit depth unless you do something to change it.

	- Dan





More information about the Squeak-dev mailing list