Returns the color depth, in number of bits per pixel,
of the specified pixel format.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static int GetPixelFormatSize( PixelFormat pixfmt ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetPixelFormatSize ( _ pixfmt As PixelFormat _ ) As Integer |
Visual C++ |
---|
public: static int GetPixelFormatSize( PixelFormat pixfmt ) |
Parameters
- pixfmt
- Type: System.Drawing.Imaging..::.PixelFormat
The PixelFormat member that specifies the format for which to find the size.