ImageEn, unit imageenview |
|
TImageEnView.LayersCreateFromAlpha
Declaration
function LayersCreateFromAlpha(): Integer;
Description
Creates a new
image layer with the content of current bitmap's alpha channel.
This is useful to handle alpha channel of other bitmaps, applying the same image processing algorithms.
See also:
LayersCopyToAlphaImageEnView1.IO.LoadFromFile('C:\image.jpg');
ImageEnView1.LayersCreateFromAlpha();
ImageEnView1.Proc.BumpMapping( 300, 300, 150, 150, 0, CreateRgb(255, 255, 255));
ImageEnView1.LayersCopyToAlpha(0);
ImageEnView1.LayersRemove(1);