Open
Description
Given a large collection of colours that represent a picture, compress the size of that data by grouping continuous sections of colours
Starting data
Green, green, green, blue, blue, red, red, red, black, black
Results in something like this
3 green, 2 blue, 3 red, 2 black
Include a simple way to show the colours, the size of the data (so the level of compression is known).
Convert a compressed image back to a normal one and display.