Convert an RGBA (Red, Green, Blue, Alpha) color to RGB by compositing it with a background color based on the alpha channel.
Usage
RGBA2RGB(RGBA, BackGround = c(1, 1, 1))Convert an RGBA (Red, Green, Blue, Alpha) color to RGB by compositing it with a background color based on the alpha channel.
RGBA2RGB(RGBA, BackGround = c(1, 1, 1))