Computer science file calculations Flashcards
1
Q
total number of colours
A
2^n n = number of bits per pixel.
2
Q
File size (bits) - image
A
image resolution * colour depth = width * height * colour depth
3
Q
File size (bits) - text
A
number of bits per character * number of characters
4
Q
File size (bits) - sound
A
Sample rate * bit depth * duration