FreeImage.NET Class Library Reference
![]() | FreeImageGetPixelFormat Method |
Returns the pixelformat of the bitmap.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
SyntaxC#
public static PixelFormat GetPixelFormat( FIBITMAP dib )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
Return Value
Type: PixelFormatPixelFormat of the bitmap.
Exceptions| Exception | Condition |
|---|---|
| ArgumentNullException | dib is null. |
See Also