You should be able to:
•• size in pixels
•• colour depth.
To calculate the file size for an image you need to know three things:
The file size is w * h * d
This will give you the number of bits and can then be converted to bytes, kilobytes etc.
e.g.
An image has a resolution size of 1024 x 800
The colour depth is 4
So we do...
1024 x 800 x 4
This is...
3,276,800 bits or 409,600 bytes or 409 kilobytes or 0.4 megabytes.
The image in the example has a 1-bit colour depth. The white pixels are 0 and the black pixels are 1. To convert this image to binary we just write down the binary representation of each pixel.
0000000000001100110000110011000000000000010000001000111111000000000000This bitmap image has 3 colours. This means that we will need 2 bits for each pixel. Black is represented by 11, White is represented by 00 and grey is represented by 10.
To convert this bitmap image to binary we would use 2 digits for each pixel instead of 1.
11 00 11 0000 11 00 1100 10 00 1010 00 10 00SOURCE RECOGNITION - PLEASE NOTE: The examination examples used in these walking talking mocks are samples from AQA from their non-confidential section of the public site. They also contain questions designed by TeachIT for AQA as part of the publicly available lesson materials.