58 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::drawing::imaging::image_flags> {{
xtd::drawing::imaging::image_flags::none,
"none"}, {
xtd::drawing::imaging::image_flags::scalable,
"scalable"}, {
xtd::drawing::imaging::image_flags::has_alpha,
"has_alpha"}, {
xtd::drawing::imaging::image_flags::has_translucent,
"has_translucent"}, {
xtd::drawing::imaging::image_flags::partially_scalable,
"partially_scalable"}, {
xtd::drawing::imaging::image_flags::color_space_rgb,
"color_space_rgb"}, {
xtd::drawing::imaging::image_flags::color_space_cmyk,
"color_space_cmyk"}, {
xtd::drawing::imaging::image_flags::color_space_gray,
"color_space_gray"}, {
xtd::drawing::imaging::image_flags::color_space_ycbcr,
"color_space_ycbcr"}, {
xtd::drawing::imaging::image_flags::color_space_ycck,
"color_space_ycck"}, {
xtd::drawing::imaging::image_flags::has_real_dpi,
"has_real_dpi"}, {
xtd::drawing::imaging::image_flags::has_real_pixel_size,
"has_real_pixel_size"}, {
xtd::drawing::imaging::image_flags::read_only,
"read_only"}, {
xtd::drawing::imaging::image_flags::caching,
"caching"}};}
Specifies that dots per inch information is stored in the image.
The pixel data is grayscale.
image_flags
Specifies the attributes of the pixel data contained in an xtd::drawing::image object. The xtd::drawing:iImage::flags property returns a member of this enumeration.
Definition: image_flags.h:20
The pixel data can be cached for faster access.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Specifies that the pixel data has alpha values other than 0 (transparent) and 255 (opaque)...
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
The pixel data uses an RGB color space.
The pixel data uses a CMYK color space.
Specifies that the image is stored using a YCBCR color space.
The xtd.drawing.imaging namespace provides advanced GDI+ imaging functionality. Basic graphics functi...
Definition: bitmap_data.h:15
There is no format information.
The pixel data contains alpha information.
The pixel data is read-only.
Specifies that the pixel size is stored in the image.
The pixel data is scalable.
Specifies that the image is stored using a YCCK color space.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
The pixel data is partially scalable, but there are some limitations.
Provides the registration struct for enumerations.
Definition: enum_register.h:36