Thursday, 14 November 2013

Text, pictures and sounds

ASCII
In ASCII code, they use binary to make letters punctuation and other characters.
0110 0001 codes for the letter a.   Because it has a total of 10,646 characters, it has to use two sets of bytes for each character.

Unicode isn't just for English, unlike ASCII code, it has characters for all languages, this means it has more characters. 

PICTURES 
to make pictures, you use metadata to tell you the number of binary numbers per pixel (colour depth), height of the picture and width of the picture(resolution).
For example with a 1bit colour depth then 1010 would be black,white,black,white. 

SOUND
sound can be converted into binary numbers that the computer can use by taking samples of frequency every now and then, the more often you take samples the better quality of sound but also increases the file size

No comments:

Post a Comment