A 32-bit image with an alpha channel (ARGB) will be merged with (alpha channel applied to) the specified color, resulting in a blended 24-bit RGB image.
Visual Basic |
---|
Public Sub AlphaFlatten( _ ByVal bkgColor As OLE_COLOR _ ) |
- bkgColor
- The background color within the 24-bit color spectrum which will represent transparency.
The image must be a 32-bit image including alpha channel prior to calling AlphaFlatten, or an exception is thrown.