Creates a new bitmap in memory.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIBITMAP AllocateT( FREE_IMAGE_TYPE type, int width, int height, int bpp, uint red_mask, uint green_mask, uint blue_mask ) |
Visual Basic (Declaration) |
---|
Public Shared Function AllocateT ( _ type As FREE_IMAGE_TYPE, _ width As Integer, _ height As Integer, _ bpp As Integer, _ red_mask As UInteger, _ green_mask As UInteger, _ blue_mask As UInteger _ ) As FIBITMAP |
Visual C++ |
---|
public: static FIBITMAP AllocateT( FREE_IMAGE_TYPE type, int width, int height, int bpp, unsigned int red_mask, unsigned int green_mask, unsigned int blue_mask ) |
Parameters
- type
- Type: FreeImageAPI..::.FREE_IMAGE_TYPE
Type of the image.
- width
- Type: System..::.Int32
Width of the new bitmap.
- height
- Type: System..::.Int32
Height of the new bitmap.
- bpp
- Type: System..::.Int32
Bit depth of the new Bitmap. Supported pixel depth: 1-, 4-, 8-, 16-, 24-, 32-bit per pixel for standard bitmap
- red_mask
- Type: System..::.UInt32
Red part of the color layout. eg: 0xFF0000
- green_mask
- Type: System..::.UInt32
Green part of the color layout. eg: 0x00FF00
- blue_mask
- Type: System..::.UInt32
Blue part of the color layout. eg: 0x0000FF