it) but doesn’t apply any dithering. It’s immediately obvious that there are artifacts in the image, and it doesn’t look like a very good approximation to the original. On the right, a dithering algorithm is applied. The image still uses the same small set of colours, but arranges the pixels in such a way that the local density of light and dark pixels gives the impression of shading.</p>
<p>The ggfx package supplies several dithering filters, including:</p>
<ul>
<li><code>with_dither()</code> uses Fl