FreeImage.Allocate Method (Int32, Int32, Int32)

FreeImage.NET

FreeImageAllocate Method (Int32, Int32, Int32)
Creates a new bitmap in memory.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static FIBITMAP Allocate(
	int width,
	int height,
	int bpp
)

Parameters

width
Type: SystemInt32
Width of the new bitmap.
height
Type: SystemInt32
Height of the new bitmap.
bpp
Type: SystemInt32
Bit depth of the new Bitmap. Supported pixel depth: 1-, 4-, 8-, 16-, 24-, 32-bit per pixel for standard bitmap

Return Value

Type: FIBITMAP
Handle to a FreeImage bitmap.
See Also