DitherTypefunction
Identifies the available algorithms for dithering when a bitmap is converted.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Parameters
| Name | Description | |
|---|---|---|
DitherTypeNone | 0 | |
DitherTypeSolid | 1 | |
DitherTypeOrdered4x4 | 2 | |
DitherTypeOrdered8x8 | 3 | |
DitherTypeOrdered16x16 | 4 | |
DitherTypeSpiral4x4 | 5 | |
DitherTypeSpiral8x8 | 6 | |
DitherTypeDualSpiral4x4 | 7 | |
DitherTypeDualSpiral8x8 | 8 | |
DitherTypeErrorDiffusion | 9 | |
DitherTypeMax | 10 |
Description
Identifies the available algorithms for dithering when a bitmap is converted.
Calling the GdipBitmapConvertFormat function of a Bitmap object changes the pixel format of that Bitmap. If the conversion results in a reduced bit depth (fewer bits per pixel), then certain colors in the original bitmap will be simulated by a dither (checkerboard) pattern made up of colors that are available in the new pixel format. The members of the DitherType enumeration identify the algorithms available for performing this dithering.
Reference
- Documented in Graphics/GdiPlus Flat Api/GdiPlus Enumerations.md
- Topic: GdiPlus Enumerations