Renders an image from a text file of digits, where each digit represents a colour to be plotted.