Posted by **Tanveer** on Tuesday, October 11, 2011 at 9:23pm.

Images on a computer can be stored many ways to account for quality and space issues. One of the factors we can adjust is colour depth. Colour depth determines the number of bits we use for each pixel of an image. The pixels are the small dots that make up an image. The higher the colour depth (or bit per pixel), the more distinct colours an image can have. Some standard colour depths include 2-bit (CGA), 4-bit (EGA), and 8 bit (VGA).

a) Given an image that is 1024x768 pixels determine the size (in bytes) of the image at CGA, EGA, and VGA resolutions. (2 marks)

b) An image with dimensions of 400x800 pixels is compressed to save space. The compressed file is reduced to 76% of the original size, and now measures 972800 bytes. Determine the colour depth of the original image, in bits. (3 marks)

c) A computer generated sphere is covered with a texture. A texture is single image that is repeated many times in order to save memory. Given the sphere has a diameter of 1000 pixels, how many time must a 64x64 pixel image be repeated to cover the entire sphere? (4 marks)

- Mathematics -
**Steve**, Tuesday, October 11, 2011 at 11:44pm
a) 1024x768 = 788736 pixels.

Just multiply by 2,4,8 to get # bits used

Divide by 8 to get bytes.

b) The compressed size is 972800 bytes, so the full expanded size is 972800/.76 = 1280000 bytes.

Multiply by 8 to get bits.

Divide by 400x800 to get depth

c) Area = pi d^2 = 3141593 px^2

Divide by 64x64 to get replication factor. Assuming the repetitions would exactly cover the sphere.

## Answer this Question

## Related Questions

- probability - 2.The daily production from a car factory=3 different models-A,B,C...
- computer - The following RAM chips are specified by the number of words times ...
- math - underwater pressure can be found using the formula p=L+d/33 where p is ...
- Chemistry - 1) Bases that are soluble in water are known as alkalis. Is sodium ...
- Basic Mathematics - A bag contains 2 red balls, 3 blue balls and 5 green balls. ...
- Math - There is exactly the same number of lollies in 10 different colours in a ...
- Trig - The depth of water in a tank oscilliates sinusoidally once every 6 hours...
- elective mathematics - A ba contains 5 red and 4 white identical balls abd a ...
- yr8 geography - my homework assignment is to colour the tributary of the river ...
- Maths - The average depth of the water in a port on a tidal river is 4 m. At low...