JCL Help:IntensityToAlpha
JCL Help: IntensityToAlpha Function
Search in JCL Help
Search in all projects
Summary
The summary for this help topic does not exist, edit this page
Pascal
procedure IntensityToAlpha(Dst: TJclBitmap32; Src: TJclBitmap32);
Description
This function transforms the color intensity, stored in RGB channels of Src bitmap into the alpha channel in Dst. If necessary, the Dst bitmap is resized to fit Src dimesions.
The intensity is calculated using the Intensity function.
The function writes only the alpha component into Dst. Other channels remain intact (provided dimensions of Dst and Src match before IntensityToAlpha call).
IntensityToAlpha is useful when it is necessary to load an alpha channel stored in as an image.
The in-place operation is fully supported, that is Dst may be the same as Src.
See Also
AlphaToGrayscale Intensity TJclBitmap32
About
Unit
Donator
Alex Denissov
Platforms
VCL
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page