xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_pixel_format_size()

static int32 xtd::drawing::image::get_pixel_format_size ( xtd::drawing::imaging::pixel_format  pixfmt)
staticnoexcept

Returns the color depth, in number of bits per pixel, of the specified pixel format.

Parameters
pixfmtThe xtd::drawing::imaging::pixel_format member that specifies the format for which to find the size.
Returns
The color depth of the specified pixel format.