
**Summary:** Dithering settings to be applied to image upon saving.

**Module:** [aspose.imaging.dithering](/imaging/python-net/aspose.imaging.dithering/)

**Full Name:** aspose.imaging.dithering.DitheringMode

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [DitheringMode()](#DitheringMode__1) | Initializes a new instance of the DitheringMode class |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| bits | int | r/w | The sampling factor of dithered image. |
| custom_palette | [IColorPalette](/imaging/python-net/aspose.imaging/icolorpalette/) | r/w | The custom palette for dithering. |
| method | [DitheringMethod](/imaging/python-net/aspose.imaging/ditheringmethod/) | r/w | Dithering algorithm selection. |


### Constructor: DitheringMode() {#DitheringMode__1}


```
 DitheringMode() 
```

Initializes a new instance of the DitheringMode class

