Text this: Colour image quantisation and coding for optimal perception