SourceDitheredJarvis, Judice, and Ninke (JJN)
Spreads the error over 12 pixels, creating smoother and more natural textures, though at a slower speed.
- Author
- J.F. Jarvis, C.N. Judice & W.H. Ninke
- Year
- 1976
- Complexity
- high
- Processing cost
- 4 / 5
How it works
Each pixel is rounded to black or white and the rounding error is pushed onto the neighbors still to be processed. Organic and detailed.
| Current pixel | 7/48 | 5/48 | ||
| 3/48 | 5/48 | 7/48 | 5/48 | 3/48 |
| 1/48 | 3/48 | 5/48 | 3/48 | 1/48 |
- The error of the current pixel is spread over 12 neighbors that haven’t been processed yet.
- All of the error is carried forward.
- Rows are scanned in alternating directions (serpentine), which avoids diagonal streaks.