1.2 - characters, images and compression Flashcards
What is a character set
All the characters a computer can use
Two standard character sets in common use
ASCII, Unicode
How many characters does ASCII have?
128, 7 bits
How many characters does extended ASCII have?
256, 8 bits
How many characters does Unicode have?
Over 65,000, 16 bits
What is a pixel
A tiny square with a binary value
Colour depth
Many images need colour, more bits are required for each pixel, more bits = more colours. The more colours, the more bits per pixel so the more the colour depth so the larger the image file
Image size
Number of pixels than an image contains, expressed as height and width
Resolution
How many pixels there are in a certain distance. Higher resolution looks better
Meta data
Data about the file itself e.g. file type, data created, author, height and width of image, resolution, colour depth
Two types of compression
Lossy and lossless
Lossy compression
Some data is removed thereby reducing the overall amount of data and file size
Image in lossy compression
Reduce colour depth, some shades will be discarded
Audio file in lossy compression
Reduce bit depth
Files compatible with lossy compression
JPEG, MPEG, MP3