Description Apply LUT(Look-Up Table) for 'recolouring' the pixels of a grayscale (8 bits/pixel) device independent bitmap. Depending on UndoMode, a new bitmap will be generated or the original one will be modified. Independently from the palette of original bitmap, the output palette will be linear.
Syntax lRet = [BIFilter.]ApplyLUT Dib hLUT UndoMode Error
Remarks lRet LONGLONG Handle of the newly created DIB on success or 0 on failure.
Dib LONGLONG Source DIB.
hLUT LONGLONG Handle to a LUT.(256 unsigned byte).
UndoMode BOOL If TRUE a new DIB will be created, otherwise the original one will be modified.
Error short* Error code.
See Also