Computer Science for IGCSE & O level - Data Representation (Section 18 - No. 12)

The image of a black and white image consists of 64 squares. If each square requires 1 byte of storage, and RLE is applied. What would be the storage requirement for a full black image?
64 bytes
2 bytes
8 bytes
1 byte

Explanation

In a fully black image using RLE, it is 64 repetitions of the same color. So it takes 2 bytes for a flag and the value. 64 values of black, and 64 * 1 byte storage is required for the uncompressed file.

Comments (0)

Advertisement