pNewColor

Pointer to an L_RGBQUAD record (structure) array that specifies an array of colors that will be mixed with the original gray values. If this parameter is set to Nil (NULL), the crColor parameter must contain a valid color. Pass Nil (NULL) when you want the method to create the array of colors, two colors when replacing both colors in a binary image, or 256 colors when using a custom array of colors.