GetDithering

 

#include “BlackIceDEVMODE.h”

 

DWORD         GetDithering(BlackIceDEVMODE* pDevMode);

 

Description

 

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

 

Parameters

 

BlackIceDEVMODE* pDevMode                - pointer to the BlackIceDEVMODE structure

 

Return value

 

The current Photo Quality setting. (DWORD number)

 

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

 

 

Programming Notes

 

None

 

Code Example

 

None