To illustrate the use of Ariadne, we use a Binary Image Compression example.
The program compresses black and white images by representing the pixels in the image as leaves in a bintree and by replacing like colored siblings with a single pixel at the parent level. This process goes on till the entire image is compressed.
Bintree representation of image