[]
Changes pixel format from 8 bits per pixel to lower value with two-dimensional error diffusion.
public void ShrinkPixelFormat(int bitsInPixel, DitheringMethod ditheringMethod)
Public Sub ShrinkPixelFormat(bitsInPixel As Integer, ditheringMethod As DitheringMethod)
| Type | Name | Description |
|---|---|---|
| int | bitsInPixel | The target number of bits per pixel (from 1 to 8). |
| DitheringMethod | ditheringMethod | The method of two-dimensional error diffusion dithering. |