Calculating the storage requirement of a file Flashcards
Pixels in a black and white image
1 bit per pixel
Pixels in an 8-bit colour image
1 byte per pixel
Characters in an ASCI text string
1 byte per character
Sound in wave file
86 kilobytes per second
Uncompressed frame of standard-definition TV
27 megabytes per frame
Uncompressed frame of high-definition TV
182 megabytes per frame
Compression
Can be used to reduce file storage requirements.
Lossy compression
Data that is deemed as unnecessary is removed in the compression process. This data is removed permanently.
Uses of lossy compression
Used for multimedia such as audio, video and image files. This is mostly done when streaming these files, as a file can be streamed more effectively.
Music file-lossy compression
It will try to remove all background noise and noises that may not be heard by the human ear. This means that it will not sound exactly as it did, but it will be a very close representation.
Lossless compression
Compression that loses no data in the process. The compressed data reverse and reconstruct the data file exactly as it was, when the file is opened.
Music file-lossless compression
It will not lose any data from the file. This method would look for repeating patterns in the music. It would store this pattern once along with how many times it is repeated. This way repeating data is reduced.