Storing images Flashcards
What is colour depth?
Colour depth is the number of bits used for each pixel.
What is image resolution?
Image resolution is the number of pixels in the image. This is width x height
What is a bitmap?
A bitmap is an image made up of pixels.
What is a disadvantage of having more colours in your picture?
A disadvantage is that it takes up more storage as you require more bits to make up the image.
What equation is required to work out the file size in bits?
File size(bits) = image resolution(width x height) x colour depth
How many colours are in an image with 4-bits?
There are 16 colours as it is 2^4
Calculate the file size in MB of an 4-bit image that is 1500 pixels wide and 1400 pixels high
1.05MB because you first have to use the formula to find the size in bits which is 8.4 million and then you divide by 8 to find the size in bytes and then divide by 1000 twice to get it in megabytes.
What is the formula for calculating the total number of colours in an image?
2^n(where n = number of bits per pixel, or bpp)
Calculate the file size in MB of an 8-bit image that is 2000 pixels wide and 2500 pixels high
5MB as you use the formula to find the size in bits which is 40 million and then you divide by 8 to get it in bytes and then by 1000 twice so get it in megabytes which equals 5