[]
DsPdfJS API / DitheringMethod
Specifies the method of two-dimensional error diffusion dithering.
Atkinson:
4
Bill Atkinson's formula.
Burkes:
5
Burkes dithering.
FloydSteinberg:
1
Floyd-Steinberg dithering.
JarvisJudiceNinke:
2
Jarvis, Judice, and Ninke filter.
NoDithering:
0
Don't spread the error to neighbor pixels.
Sierra:
6
Frankie Sierra's dithering algorithm (sometimes called Sierra-3).
SierraLite:
8
Sierra Lite dithering.
Stucki:
3
Stucki dithering.
TwoRowSierra:
7
Simplified two-row Sierra algorithm.