Bitmap Colours

Each Bitmap has a Colour depth property. This determines the maximum number of different colours available for each pixel. Common colour depths are 1-, 4-, 8-, 16- and 24-bits, corresponding to 2, 16, 256, 65000 and 16.7 million colours.

If the colour depth of your screen is less than the colour depth of a Bitmap item, then SIS will dither colours on screen to simulate the colours in the Bitmap item. This can result in a grainy appearance.

If you have a monochrome Bitmap item, then it will draw in black-and-white by default. However you can change the colour of the black pixels by forcing the colour of the overlay it is on.


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).