You are on page 1of 1

01000001 00101101

Compression, 01001100and
Encryption 01100101 01110110 01100101 01101100 00100000 01000011 01101111 01101101
Hashing
01110000 01110101 01110100 01100101 01110010 00100000 01010011 01100011 01101001 01100101 01101110
Run length encoding and dictionary coding for lossless compression
01100011 01100101 01000001 00101101 01001100 01100101 01110110 01100101 01101100 00100000 01000011
01101111 01101101 01110000 01110101 01110100 01100101 01110010 00100000 01010011 01100011 01101001
Reconstruct the original image which has been compressed using Run-Length coding.

0 0 0 0 0 0 0 Assume an alternating
0 0 0
sequence of white pixels
0 0 0 0 0 0 0 0 0 0 followed by black:
0 0 0 1 1 1 1 0 0 0
0 0 0 1 0 0 1 0 0 0 23 4 6 1 2 1 6 1 2
1 6 4 6 1 2 1 6 1
0 0 0 1 0 0 1 0 0 0 2 1 6 4 13
0 0 0 1 1 1 1 0 0 0
0 0 0 1 1 1 1 0 0 0
0 0 0 1 0 0 1 0 0 0
0 0 0 1 0 0 1 0 0 0
0 0 0 1 0 1 1 1 1 1

You might also like