Old-school image dithering
A friend and I were talking about the old-school dithering effects of gameboys and apple II’s, and I fell down a rabbit hole of spec sheets and image processing. Here are some links to read up on some of the details behind how those nostalgic image artefacts came to be, and how to re-create it.
The camera sensor spec sheet (see pages 9 and 14 for the kernel and weights)
And some background on edge-detection and laplacians for good measure
The modern re-creation
Github Gist for converting PNGs (will not work on jpegs!)
Copy the script at the github link, make sure you have execution permission ($chmod u+x gbcam.sh)
, then run it via: ./gbcam.sh <picname.png>
This article does a deep dive into some modern artistic dithering implementations, plus a bunch of great info in general.