FreeImage.NET Class Library Reference
FreeImageBitmapGetPixelFormatSize Method |
Returns the color depth, in number of bits per pixel,
of the specified pixel format.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static int GetPixelFormatSize( PixelFormat pixfmt )
Parameters
- pixfmt
- Type: System.Drawing.ImagingPixelFormat
The PixelFormat member that specifies the format for which to find the size.
Return Value
Type: Int32The color depth of the specified pixel format.
See Also