Class TAdDitheringFilter

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdDitheringFilter = class(TAdBitmapEffect)

Description

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.

See also
TAdFloydSteinbergDithering
TAdFloydSteinberDithering uses the FloydSteinberg convolution kernel for dithering the bitmap.
TAdBellDithering
TAdBellDithering uses the an optimized FloydSteinberg convolution kernel for dithering the bitmap.
TAdBillAtkinsonDithering
TAdBillAtkinsonDithering uses the an optimized FloydSteinberg convolution kernel for dithering the bitmap.

Hierarchy

Overview

Properties

Public property DitherCallback: TAdDitherCallback read FDitherCallback write FDitherCallback;

Description

Properties

Public 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.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:58