# DitheringMethod

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / DitheringMethod

# Enumeration: DitheringMethod

Specifies the method of two-dimensional error diffusion dithering.

## Enumeration Members

### Atkinson

> **Atkinson**: `4`

Bill Atkinson's formula.

***

### Burkes

> **Burkes**: `5`

Burkes dithering.

***

### FloydSteinberg

> **FloydSteinberg**: `1`

Floyd-Steinberg dithering.

***

### JarvisJudiceNinke

> **JarvisJudiceNinke**: `2`

Jarvis, Judice, and Ninke filter.

***

### NoDithering

> **NoDithering**: `0`

Don't spread the error to neighbor pixels.

***

### Sierra

> **Sierra**: `6`

Frankie Sierra's dithering algorithm (sometimes called Sierra-3).

***

### SierraLite

> **SierraLite**: `8`

Sierra Lite dithering.

***

### Stucki

> **Stucki**: `3`

Stucki dithering.

***

### TwoRowSierra

> **TwoRowSierra**: `7`

Simplified two-row Sierra algorithm.
