PaintDither property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

TPaintDither PaintDither

Delphi Syntax

PaintDither: TPaintDither

Overview

Refer to Displaying an Image.

Remarks

(Persistent property, available at design time) Specifies the type of dithering to use when painting an image on a device with 256 colors or less.

Ordered dithering is faster than error diffusion, but the quality of the image is not as good.

Setting

Description

pdOrdered

Use ordered dithering.

pdDiffusion

Use error diffusion.

See Also

Elements:

BackErase property, BitonalScaling property, PaintEffect property, PaintPalette property, PaintROP3 property, PaintGamma property, PaintIntensity property, PaintContrast property

Topics:

Raster Images: Displaying Images

 

Raster Images: Doing Color Expansion or Reduction