Professional Documents
Culture Documents
Unicode
1.2 Multimedia
The term multimedia refers to a combination of media types including:
• Text
• Images/Graphics
• Animations
• Sound
• Video
Graphics
• A graphic is an image/picture.
• A graphic can be either:
◦ Bitmap, or
◦ Vector
• A bitmap graphic is created using a grid of pixels.
• A vector graphic is created using a collection of drawing commands.
• A pixel is the smallest addressable location on a screen/image.
Bitmap graphics
• The grid above shows a detailed view of a simple bitmap image forming the letter K.
• To the right of it is the actual bit pattern used to form the image. So the image is actually stored as
1s and 0s.
• Based on this, each row of pixels takes up 5 bits. And we have 8 rows of this.
• Thus the total space occupied by this image is 5 x 8 bits = 40 bits
• 40 bits = 5 Bytes. So this image takes up 5 Bytes of storage space.
• Let us now consider the same image in different colours.
01 00 00 00 11
01 00 00 11 00
01 00 11 00 00
01 11 00 00 00
01 00 11 00 00
01 00 00 11 00
01 00 00 00 11
00 00 00 00 00
• In the black and white image, the black was 1 and the white was 0. So with 1 bit, we showed 1
pixel.
• Now that we have 3 colours, we need more bits per pixel.
Black = 11
White = 00
Red = 01
• Looking at the image we see that the number of bits used in the image have doubled, although the
image appears to be the same size.
• Therefore, the amount of storage space has also doubled. Now the image size is calculated as
follows:
5 * 8 pixels * 2 bits = 80 bits
= 80 / 8 = 10 Bytes.