The term 'computer graphics' refers to anything involved in the creation or manipulation of images on a computer, including animated images.
An image on a computer screen is made up of pixels – tiny elements arranged in a rectangular grid of rows and columns. Pixels are so small that on high-resolution displays they become essentially invisible.
At any given time, each pixel can show only one colour.
| Format | Description |
|---|---|
| 24-bit colour | Each colour is specified by three 8-bit numbers representing levels of red, green and blue (RGB) |
| Grayscale | Each pixel is a shade of gray, specified by one number on a black-to-white scale; typically 256 shades |
| Indexed colour | A numbered list of possible colours; each pixel's colour is specified by an integer giving its position in the list |
The colour values for all pixels on the screen are stored in a large block of memory called the frame buffer.
How it works:
This model is the basis of raster graphics.