ImageEn, unit imageenproc |
|
TImageEnProc.Merge
Declaration
procedure Merge(SrcBitmap: TIEBitmap; pcf: Integer = 50); overload;
procedure Merge(SrcBitmap: TBitmap; pcf: Integer); overload;
procedure Merge(SrcBitmap: TIEBitmap; Mask: TIEBitmap); overload;
Description
Merge the current image with the specified bitmap.
Parameter | Description |
SrcBitmap | Bitmap to merge with the current image (TBitmap images must be pf1bit, pf8bit, pf24bit or pf32bit) |
pcf | Percentage of current image (100 = only the current image, 0 = only SrcBitmap) |
Mask | Gray scale (ie8g) mask, which indicates how merge source with the background image (255 = full SrcBitmap, 0 = full background) |
Demo
| Demos\ImageEditing\CompleteEditor\PhotoEn.dpr |
Example
// Merge 50% of ImageEn2 with ImageEn1
ImageEnView1.Proc.Merge( ImageEnView2.IEBitmap, 50 );