ref="https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dithering">Floyd-Steinberg algorithm</a>. The Wikipedia page on Floyd-Steinberg dithering gives a nice (CC-licenced!) example using a kitten picture, shown to the left.</p>
<p><img src="undithered.png" class="img-fluid"> <img src="quantised.png" class="img-fluid"> <img src="dithered.png" class="img-fluid"></p>
<p>The original image is shown on the left. The image in the middle reduces the number of distinct colours in the image (i.e.&nbsp;quantises 