[]
        
(Showing Draft Content)

C1.Util.DX.WIC.PixelFormat.GetBitsPerPixel

GetBitsPerPixel Method

GetBitsPerPixel(Guid)

Gets the number of bits per pixel for a particular pixel format.

Declaration
public static int GetBitsPerPixel(Guid guid)
Parameters
Type Name Description
Guid guid

The pixel format guid.

Returns
Type Description
int

The number of bits per pixel. If the pixel format guid is invalid, returns 0