Skip to content

NxtFormat.ForBitsPerPixel Method

Definition

Gets the singleton for the specified bit depth.

public static NxtFormat ForBitsPerPixel(int bitsPerPixel);

View source

Parameters

Name Type Description
bitsPerPixel Int32 The explicit interpretation: 1, 4, 8 bits per pixel.

Returns

NxtFormat

The selected format.