ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAH
1
2
B&W Run Length Encoding
3
4
This is encoded in Denary, Base10 or decimal, but could easily have been encoded in Binary.
The first number indicates white spaces, so 4, 3, 3, 3 would be 4 White, 3 Black, 3 White, 3 Black.
The first picture is the easiest and the second one is more complex.
It is easy to make mistakes so make sure you are paying attention.
5
6
17
7
4, 3, 3, 3
8
3, 5, 1, 5
9
2, 13
10
2, 13
11
2, 13
12
3, 11
13
4, 9
14
5, 7
15
6, 5
16
7, 3
17
8, 1
18
17
19
20
Hint for the next one... a line that starts with 0 indicates no white spaces to start with.
21
22
2, 3, 7, 3
23
1, 1, 3, 1, 5, 1, 3, 1
24
0, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1
25
0, 1, 1, 3, 1, 1, 3, 1, 1, 3, 1, 1
26
0, 1, 1, 3, 1, 1, 3, 1, 1, 3, 1, 1
27
0, 1, 1, 3, 1, 1, 3, 1, 1, 3, 1, 1
28
0, 1, 2, 2, 1, 1, 3, 1, 1, 2, 2, 1
29
1, 1, 1, 2, 1, 1, 3, 1, 1, 2, 1, 1
30
1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1
31
2, 1, 4, 1, 1, 1, 4, 1
32
3, 1, 4, 1, 4, 1
33
2, 1, 11, 1
34
2, 1, 11, 1
35
1, 1, 13, 1
36
1, 1, 2, 2, 5, 2, 2, 1
37
1, 1, 1, 1, 2, 1, 3, 1, 2, 1, 1, 1
38
1, 1, 13, 1
39
1, 1, 6, 1, 6, 1
40
2, 1, 11, 1
41
3, 2, 7, 2
42
5, 7
43
44
Now go the other way....
Encode the instructions for storing the image.
45
46
47
48
49
50
51
52
53
54
55
56
57
© 2002 Computer Science Unplugged (www.unplugged.canterbury.ac.nz)
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100