
**Summary:** Dithering settings to be applied to image upon saving.

**Module:** [aspose.psd.dithering](/psd/python-net/aspose.psd.dithering/)

**Full Name:** aspose.psd.dithering.DitheringMode

**Aspose.PSD Version:** 24.12.0

## **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](/psd/python-net/aspose.psd/icolorpalette) | r/w | The custom palette for dithering. |
| method | [DitheringMethod](/psd/python-net/aspose.psd/ditheringmethod) | r/w | Dithering algorithm selection. |


### Constructor: DitheringMode() {#DitheringMode__1}


```
 DitheringMode() 
```

Initializes a new instance of the DitheringMode class

