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)

C#
public static PixelFormat GetPixelFormat( FIBITMAP dib )
Parameters
- dib
- Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
Return Value
Type: PixelFormatPixelFormat of the bitmap.

Exception | Condition |
---|---|
ArgumentNullException | dib is null. |
