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

◆ pixel_format() [2/2]

bitmap_data & xtd::drawing::imaging::bitmap_data::pixel_format ( xtd::drawing::imaging::pixel_format  value)
noexcept

Sets the format of the pixel information in the xtd::drawing::bitmap object that returned this xtd::drawing::imaging::bitmap_data object.

Parameters
valueA xtd::drawing::imaging::pixel_format that specifies the format of the pixel information in the associated xtd::drawing::bitmap object.
Returns
This current instance.
Remarks
The format defines how many bits of memory are needed to store the color information for a single pixel.