SetDithering

Sets the Dithering member of the BlackIceDEVMODE. Sets the value of the 'Photo Quality' radio button.

 

SetDithering(dithering As Long, pBlackIceDEVMODE As Long) As Boolean

 

Input value: dithering                      - Photo Quality

 

Can be one of the following values:

 

DITHER_NONE (0):

Disable Photo Quality (use the default GDI dithering)

DITHER_FS4 (1):

Floyd-Steinberg low-quality, smaller file size

DITHER_JJN (2):

Jarvis-Judice-Ninke low-quality, smaller file size

DITHER_SMOOTH (3):

Smooth

DITHER_SHARP (4):

Sharp

DITHER_STUCKI (5):

Stucki

DITHER_THRESHOLD (6):

Threshold (no dithering)

DITHER_ORDERED_CLUSTERED (7):

Ordered Clustered

DITHER_FS4_HQ (8):

Floyd-Steinberg high-quality, larger file size

DITHER_JJN_HQ (9):

Jarvis-Judice-Ninke high-quality, larger file size

 

Input value: pBlackIceDEVMODE            - handle to the BlackIceDEVMODE.

 

Return value - TRUE if the member was successfully set, otherwise FALSE.

 

NOTE: For 32-bit applications , use pBlackIceDEVMODE as Integer, instead of Long.