The IMAGEEFFECTS structure provides information about the image effects.
Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.
Pixel flavor used when acquiring. Possible values are (according to the TWAIN specification):
|TWPF_CHOCOLATE||Zero stands for the darkest shade.|
|TWPF_VANILLA||Zero stands for the lightest shade.|
Color scheme to use when scanning is to be done. Possible values are (according to the TWAIN specification):
|TWPT_BW||Black and White (1 bit).|
|TWPT_GRAY||8-bit Gray Scale|
|TWPT_RGB||24-bit RGB Color.|
|TWPT_CMY||CYAN, magenta, yellow color space.|
|TWPT_CMYK||CYAN, magenta, yellow, black color space.|
|TWPT_YUV||Color space type that is true color encoding. It uses one luminance value (Y) and two chroma values (UV).|
|TWPT_YUVK||The same as YUV with an additional black variable.|
A string having the name of the used pattern.
pIMAGEEFFECTS is a pointer to an IMAGEEFFECTS structure. Where the function parameter type is pIMAGEEFFECTS, you can declare an IMAGEEFFECTS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pIMAGEEFFECTS variable is necessary only if your program requires a pointer.
IMAGEEFFECTS is used with the LTWAINPROPERTIES structure.