ImageEn, unit imageenproc

TImageEnProc.GetRGBChannelAll

TImageEnProc.GetRGBChannelAll


Declaration

procedure GetRGBChannelAll(BitmapR, BitmapG, BitmapB: TIEBitmap);


Description

Copies the R, G and B channels to the bitmaps: BitmapR, BitmapG and BitmapB.

To re-create the image from the RGB channel bitmaps, use SetFromRGBChannels.


Demos

Demo  Demos\ImageEditing\RGBChannels\RGBChannels.dpr
Demo  Demos\ImageEditing\CompleteEditor\PhotoEn.dpr


Example

ImageEnView1.Proc.GetRGBChannelAll(ImageEnViewRed.IEBitmap, ImageEnViewGreen.IEBitmap, ImageEnViewBlue.IEBitmap);
ImageEnViewRed.Update;
ImageEnViewGreen.Update;
ImageEnViewBlue.Update;