TIEBitmap.DetachAlphaChannel
TIEBitmap.DetachAlphaChannel
Declaration
function DetachAlphaChannel(CreateIfNotExists: Boolean = False): TIEBitmap;
Description
Detach the current alpha channel (if it exists) and return it.
Note: It is the responsibility of application to free it.
| Parameter | Description |
| CreateIfNotExists | Creates an alpha channel if the image doesn't have one |
Example
// Detach alpha channel
alphaBMP := ImageEnView1.IEBitmap.DetachAlphaChannel();
See Also
◼AlphaChannel
◼ReplaceAlphaChannel
◼RemoveAlphaChannel