InvertRGB

procedure InvertRGB(Dst, Src: TCustomBitmap32);

Description

Inverts RGB color channels, and copies the alpha channel without inversion. If necessary, the Dst bitmap is resized to fit Src dimensions. This function is equal to calling Invert with Components = [ccRed, ccGreen, ccBlue].

This function supports in-place operation, that is Dst may be the same as Src.

See Also

TCustomBitmap32, Invert