On macOS, there's a great piece of freeware called Retro Dither that does the job well: https://apps.apple.com/us/app/retro-dither-b-w-is-beautiful/...

/Not the author, just a satisfied user.