PixelDataFormat.GetRgb

GetRgb(int)

Obtient la couleur RVB avec un nombre spécifié de bits par échantillon.

public static PixelDataFormat GetRgb(int bitsPerSample)
ParamètreTaperLa description
bitsPerSampleInt32Le nombre de bits par échantillon.

Return_Value

La couleur RVB.

Voir également


GetRgb(int, int, int)

Obtient la couleur RVB avec un nombre spécifié de bits par échantillon.

public static PixelDataFormat GetRgb(int bitsPerRedChannel, int bitsPerGreenChannel, 
    int bitsPerBlueChannel)
ParamètreTaperLa description
bitsPerRedChannelInt32Le nombre de bits par canal rouge.
bitsPerGreenChannelInt32Le nombre de bits par canal vert.
bitsPerBlueChannelInt32Le nombre de bits par canal bleu.

Return_Value

La couleur RVB.

Voir également