SourceDitheredSierra
Balances quality and performance with a three-line diffusion. Produces natural and crisp textures.
- Author
- Frank Sierra
- Year
- 1986
- Complexity
- medium
- Processing cost
- 3 / 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 | 5/32 | 3/32 | ||
| 2/32 | 4/32 | 5/32 | 4/32 | 2/32 |
| 2/32 | 3/32 | 2/32 |
- The error of the current pixel is spread over 10 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.