4.5.6 Representing images, sound and other data Flashcards
What is the colour depth?
The number of bits assigned to a pixel in an image.
How is the storage required to represent a bitmap image calculated?
- Multiply the number of pixels (width x height ) by the bit depth
- This produces a minimum value
Why is a minimum value produced?
Because bitmap image files may also contain metadata, hence the calculated amount is a minimum amount.
What are some examples of metadata?
- Width
- Height
- Date created
- Colour depth
What are the two methods of representing images in a computer?
- Vector graphics
* Bitmap images
How do vector graphics represent images?
- Using geometric objects and shapes such as rectangles, circles and lines.
- The properties of each geometric object or shape in the image are stored in a list
How are the properties of vector graphics stored?
The properties of each geometric object or shape in the image are stored in a list.
What is an advantage of vector graphics?
- Vector graphics can be scaled without losing quality, enlargement leads to no loss of clarity
- They are well suited to simple images using shapes
- Vector graphics frequently use less storage space than bitmapped graphics, as information is stored for each shape rather than every single pixel in an image.
What are bitmap images suited to?
Storing photographs.
What is a disadvantage of bitmap images?
- Information being stored for every single pixel in an image makes it use more space than vector graphics
- Enlarging a bitmap image results in a blurry or pixelated image, there is a loss of clarity.
How is sound represented by computers?
As a sequence of samples, each of which takes a discrete digital value.
What is the sampling rate?
Number of samples per second, expressed in hertz.
What is the sample resolution?
Number of bits allocated to each sample.
What does a higher sample resolution allow for?
• Higher sample resolutions result in greater audio quality, but also increased file size.
How can the size of a sound sample be calculated?
Multiplying together the duration of the sample in seconds, the sampling rate in Hertz and the sample resolution.
duration * sampling rate * resolution