How My Images Are Dithered
by surprisetalk on 7/22/2026, 1:00:29 PM
https://dead.garden/blog/how-my-images-are-dithered.html
Comments
by: trentor
I was a rotogravure printer in another life, and this post made me a bit nostalgic. In intaglio printing you usually don't see these patterns because the electrostatic assist pulls the ink out of the cells, and the colors blend together more. It's more akin to a developed photo. I mainly remember them from having to do offset printing for the intermediate exam during my apprenticeship.<p>Our paper was about 3.5 meters wide, and a single roll length was 2–3 kilometers which ran for 20-30 minutes. The process delivered high quality at high speed, so we printed titles like Playboy and the IKEA catalogue in every language (for a language change we only had to swap the black cylinders, since the data was optimized so the text was mostly single color black). A print run of the IKEA catalogue, around 40 million copies, took about two months. It was brain numbing but also really zen. I miss it sometimes.
7/25/2026, 2:48:02 PM
by: matsemann
Almost two decades ago I used a software called Rasterbator to dither an image into dots, blowing it up to multiple A4 pages one could then decorate a whole wall with. Up close it would just be circles of various sizes, but from a distance the image would show up. Super cool. Used it to decorate a wall in my dorm with a picture of the family dog.
7/25/2026, 8:10:00 PM
by: rahimnathwani
If you're doing halftoning with the intent to get custom DTF (direct to film) prints for t shirts, you might find this tool helpful:<p><a href="https://tools.encona.com/dtf" rel="nofollow">https://tools.encona.com/dtf</a><p>It aims to 'knock out' some areas of the image: make them transparent in the digital image so those areas are not part of the final film. This means less of the surface of the t shirt has film on it, allowing it to be breathable and flexible.<p>I got some DTF prints made before I knew you were meant to do this. The tutorials online required a lot of steps so I made the above for next time. Not tested for real yet.
7/25/2026, 1:48:43 PM
by: ReactiveJelly
> Dithering can reduce file size<p>Yeah, if you're using lossless compression like PNG or GIF, adding a lossy step to reduce the number of colors in the palette can help.<p>If you're compressing photos, you should use JPEG or WebP.<p>Anecdotally, JPEG usually beats dithering, and WebP always does.<p>It's fine to dither images but please please admit that you're doing it for the aesthetic. WebP has very broad browser support and absolutely blows dithering out of the water for compression. You are not going to beat years of research and tuning with "use fewer colors".<p>I remember a YouTube video about "How we did the impossible and got full-motion video for this Sonic game on a system that couldn't do FMVs", and the answer was like, "Well, we used a low resolution, and then we reduced the color palette, and then we cut the frame rate, and then we did interlacing." None of that's impossible! That's like saying you built the Pyramid at Giza using only a bucket of Lego bricks! It's not the same pyramid! Anyone can use a lower resolution! It takes effort and teamwork to come up with a codec that actually compresses data without artifacts!
7/25/2026, 2:33:16 PM
by: zeraye
A few years ago I made this fun little app <a href="https://dithering-sigma.vercel.app/" rel="nofollow">https://dithering-sigma.vercel.app/</a>. May be interesting for someone. Source code <a href="https://github.com/zeraye/dithering" rel="nofollow">https://github.com/zeraye/dithering</a>.
7/25/2026, 7:57:09 PM
by: xnx
Title here is missing "How" as in "How My Images Are Dithered"
7/25/2026, 1:56:08 PM
by: imhoguy
Up! Very cool site, creative, slopless and with that 90/00s vibe I miss :)
7/25/2026, 7:53:03 PM
by: timnetworks
Is nobody going to mention anything about the fact that one of the friends at the restaurant has no _head_ ?
7/25/2026, 7:40:45 PM
by: Retr0id
I suppose it is a type of dithering, but really this is Halftoning
7/25/2026, 1:04:55 PM
by: AyanamiKaine
Ohhhh that is so cool, but I agree with the others its more halftoning. When you want to dither/pixelate an image you can use Image-to-Pixel [0].<p>[0]<a href="https://tezumie.github.io/Image-to-Pixel/" rel="nofollow">https://tezumie.github.io/Image-to-Pixel/</a>
7/25/2026, 3:45:17 PM
by: ectoloph
Didder[0] is a good tool for dithering. I use it to pre-process images for the 6-color e-ink displays.<p>You can go down a rabbit hole of dithering algorithms too, like Floyd Steinberg[1]<p>[0] <a href="https://github.com/makew0rld/didder" rel="nofollow">https://github.com/makew0rld/didder</a> [1] <a href="https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dithering" rel="nofollow">https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dither...</a>
7/25/2026, 4:22:21 PM
by: meindnoch
Every image should be dithered below 10 bits/component to prevent banding artifacts.
7/25/2026, 1:38:22 PM
by: willmeyers
Cool effect! It feels a bit like a deep-fried meme to me, but that might just be me!<p>I tried doing something similar a couple of years ago and gave up after running into the exact same issues in the post. It's really difficult to replicate proper halftoning on a computer screen without getting moiré patterns and weird artifacts because of PPI, aliasing, and other stuff. Beyond that, print and screens are just fundamentally different ways of rendering things.
7/25/2026, 2:16:30 PM
by: ValdikSS
??? This is halftoning, not dithering
7/25/2026, 1:32:06 PM
by: olivierestsage
Recommended: <a href="https://doodad.dev/dither-me-this/" rel="nofollow">https://doodad.dev/dither-me-this/</a>
7/25/2026, 5:15:56 PM
by: effnorwood
slowly. then all at once.
7/25/2026, 7:49:39 PM
by: AndrewStephens
Very nice results, I really like the way it looks like a printed page. Image processing is addictive - once you start playing around it is hard to stop.
7/25/2026, 1:24:06 PM
by: Dwedit
Speaking of which, are there any good ways to undither images? Things like GIMP FFT are not perfectly reversible.
7/25/2026, 2:16:42 PM
by: jcynix
Hmm, that gives me an idea: dithering (of generally "mogrifying") my images might make them less palatable for those pesky AIs roaming my web server …
7/25/2026, 4:18:30 PM
by: tiffanyh
If you like this, you might also like:<p><a href="https://news.ycombinator.com/item?id=48009879">https://news.ycombinator.com/item?id=48009879</a>
7/25/2026, 3:30:54 PM
by: rrr_oh_man
Counterpoint: <a href="https://news.ycombinator.com/item?id=29227606">https://news.ycombinator.com/item?id=29227606</a>
7/25/2026, 3:06:05 PM
by: gausswho
I vaguely recall stumbling across a site years ago that could do something like this in the browser, with various bits 'n bobs you could poke at. Can't find it now.
7/25/2026, 2:15:57 PM
by: hnl68yz0go
This framing is spot on
7/25/2026, 5:23:39 PM
by:
7/25/2026, 5:29:01 PM
by: next_xibalba
It tickles me greatly how much HN’ers are fascinated by dithering. It seems like a few times per year a post about dithering makes the front page.
7/25/2026, 3:55:17 PM
by: ipunchghosts
Why is this not a typical data augmentation method for training deep networks? It would allow the networks to learn invariants that's align with humans. Currently, I suppose none of these dithered images would be correctly classified.
7/25/2026, 2:01:09 PM
by: chronogate_op
[flagged]
7/25/2026, 6:49:58 PM