Here is a string of data representing pixels in an image:
BBBBBRRBBBRRRRBB
Give the result of compressing this string using a run-length encoding (RLE) algorithm.