ImageFlags 枚举
定义
指定 Image 对象中包含的像素数据的特性。Specifies the attributes of the pixel data contained in an Image object. Flags 属性返回此枚举的成员。The Flags property returns a member of this enumeration.
此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。
public enum class ImageFlags
[System.Flags]
public enum ImageFlags
type ImageFlags =
Public Enum ImageFlags
- 继承
- 属性
字段
Caching | 131072 | 为了更快地进行访问,可缓存此像素数据。The pixel data can be cached for faster access. |
ColorSpaceCmyk | 32 | 此像素数据使用 CMYK 颜色空间。The pixel data uses a CMYK color space. |
ColorSpaceGray | 64 | 此像素数据表示灰度。The pixel data is grayscale. |
ColorSpaceRgb | 16 | 此像素数据使用 RGB 颜色空间。The pixel data uses an RGB color space. |
ColorSpaceYcbcr | 128 | 指定使用 YCBCR 颜色空间来存储图像。Specifies that the image is stored using a YCBCR color space. |
ColorSpaceYcck | 256 | 指定使用 YCCK 颜色空间来存储图像。Specifies that the image is stored using a YCCK color space. |
HasAlpha | 2 | 此像素数据包含 alpha 信息。The pixel data contains alpha information. |
HasRealDpi | 4096 | 指定在图像中存储每英寸点数信息。Specifies that dots per inch information is stored in the image. |
HasRealPixelSize | 8192 | 指定在图像中存储像素大小。Specifies that the pixel size is stored in the image. |
HasTranslucent | 4 | 指定此像素数据有不同于 0(透明)和 255(不透明)的 alpha 值。Specifies that the pixel data has alpha values other than 0 (transparent) and 255 (opaque). |
None | 0 | 无格式信息。There is no format information. |
PartiallyScalable | 8 | 此像素数据部分可缩放,但有一些限制。The pixel data is partially scalable, but there are some limitations. |
ReadOnly | 65536 | 此像素数据是只读的。The pixel data is read-only. |
Scalable | 1 | 此像素数据是可伸放的。The pixel data is scalable. |