Description | Hierarchy | Fields | Methods | Properties |
type TAdDitheringFilter = class(TAdBitmapEffect)
A dithering filter allows you to dithre a bitmap. The pallette the image should be dithered to is defined using the dithering callback. Use the implementations TAdFloydSteinbergDithering, TAdBellDithering or TAdBillAtkinsonDithering.
![]() |
property DitherCallback: TAdDitherCallback read FDitherCallback write FDitherCallback; |
![]() |
property DitherCallback: TAdDitherCallback read FDitherCallback write FDitherCallback; |
Before starting the dithering progress you have to set this callback function. In this function you have to return the nearest color in your palette to the original color. |