FreeImage.NET Class Library Reference
FreeImageComposite Method (FIBITMAP, Boolean, RGBQUAD, FIBITMAP) |
This function composite a transparent foreground image against a single background color or
against a background image.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP Composite( FIBITMAP fg, bool useFileBkg, ref RGBQUAD appBkColor, FIBITMAP bg )
Parameters
- fg
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap. - useFileBkg
- Type: SystemBoolean
When true the background of fg is used if it contains one. - appBkColor
- Type: FreeImageAPIRGBQUAD
The application background is used if useFileBkg is false. - bg
- Type: FreeImageAPIFIBITMAP
Image used as background when useFileBkg is false or fg has no background and appBkColor is null.
Return Value
Type: FIBITMAPHandle to a FreeImage bitmap.
See Also