HistogramFormat enumeration
Specifies the number and the kind of the histograms that describe the colour channels of a bitmap.
It is the format argument of Bitmap.GetHistogram.
| Member | Value | Description |
|---|---|---|
| HistogramFormatARGB | 0 | Four histograms: alpha, red, green and blue. The colours are not premultiplied. |
| HistogramFormatPARGB | 1 | Four histograms: alpha, red, green and blue, with the colours premultiplied by alpha. |
| HistogramFormatRGB | 2 | Three histograms: red, green and blue. |
| HistogramFormatGray | 3 | One histogram of the gray level. |
| HistogramFormatB | 4 | One histogram of the blue channel. |
| HistogramFormatG | 5 | One histogram of the green channel. |
| HistogramFormatR | 6 | One histogram of the red channel. |
| HistogramFormatA | 7 | One histogram of the alpha channel. |
Used by
- Bitmap class: GetHistogram, HistogramSize
See Also
- HistogramFormat – Microsoft’s documentation of the GDI+ enumeration
- Enumerations – all the enumerations of the package
- Bitmap class