FreeImage.NET Class Library Reference
FreeImageGetTypeParameters Method |
Retrieves all parameters needed to create a new FreeImage bitmap from
raw bits Image.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool GetTypeParameters( FREE_IMAGE_TYPE type, int bpp, out uint red_mask, out uint green_mask, out uint blue_mask )
Parameters
- type
- Type: FreeImageAPIFREE_IMAGE_TYPE
The FREE_IMAGE_TYPE of the data in memory. - bpp
- Type: SystemInt32
The color depth for the data. - red_mask
- Type: SystemUInt32
Returns the red_mask for the data. - green_mask
- Type: SystemUInt32
Returns the green_mask for the data. - blue_mask
- Type: SystemUInt32
Returns the blue_mask for the data.
Return Value
Type: BooleanTrue in case a matching conversion exists; else false.
See Also