PaintDither property (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

PaintDitherConstants PaintDither

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

PAINTDITHER_ORDERED

Use ordered dithering.

PAINTDITHER_DIFFUSION

Use error diffusion.

See Also

Elements:

BackErase property, BitonalScaling property, ForePalette 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