Lossless vs Lossy
Lossless compression 1. No loss of data quality 2. Lesser reduction in size of data file Lossy compression 1. Data quality is reduced 2. Bigger reduction in size of data file - image might become more blurred
Bitmap images
Bitmap images are made of millions of pixels and the colour of each pixel is stored using a number code
*bitmap files store the position and colour of every pixel of the image
Why is a bitmap file good for storing photographs and other realistic images?
Bitmap files can store all the details and varied colours of an image
*bitmap files can be very large
What are ‘high resolution’ and ‘low resolution’ images?
High resolution: Images made of lots of tiny pixels, sharp and detailed
Low resolution: Images made of fewer, larger pixels, take up less space
Vector images
Vector images are made of shapes constructed from lines. The computer stores mathematical formulas that tell it how to draw the shapes and lines
Why does pixelation not affect vector images?
Vector images are drawn to the correct size using the stored mathematical formulas
Colour depth
The number of colours that can be used in an image
Types of colour format
Monochrome: each pixel uses 1 bit (either B/W)
16-colour: each pixel uses 4 bits
256-colour: each pixel uses 8 bits / 1 byte
Audio formats - WAV
Audio formats - MP3
Audio formats - MIDI (Musical Instrument Digital Interface)
Video formats - MP4 / MPEG-4
MP4 is a ‘container’ format, which means that an MP4 file can hold other digital formats (video, audio, image, text).
Bit rate
The number of bits used to store one second of sound / video
What does bit rate depend on?
Ways to compress an image file
5 methods of error detection and correction
Explain how MP3 files retain most of the original music quality.
Describe how the size of the text file can be reduced.