#include “BlackIceDEVMODE.h”
BOOL SetDithering(DWORD dithering, BlackIceDEVMODE* pDevMode);
Description
Sets the Dithering member of the BlackIceDEVMODE. Sets the value of the 'Photo Quality' radio button.
Parameters
DWORD dithering - Photo Quality (DWORD number).
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 |
BlackIceDEVMODE* pDevMode - pointer to the BlackIceDEVMODE structure.
Return value
TRUE if the member was successfully set, otherwise FALSE.
Programming Notes
None
Code Example
None