WmpBitmapEncoder.SubsamplingLevel 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 RGB 图像编码的子采样级别。
public:
property System::Byte SubsamplingLevel { System::Byte get(); void set(System::Byte value); };
public byte SubsamplingLevel { get; set; }
member this.SubsamplingLevel : byte with get, set
Public Property SubsamplingLevel As Byte
属性值
RGB 图像编码的子采样级别。 范围为 0 到 3。 默认值是3。
| 值 | 说明 |
|---|---|
| 0 | 4:0:0 编码。 将丢弃色度内容;保留亮度。 |
| 1 | 4:2:0 编码。 色度分辨率降低 1/4 的亮度分辨率。 |
| 2 | 4:2:2 编码。 色度分辨率降至亮度分辨率的 1/2。 |
| 3 | 4:4:4 编码。 保留色度分辨率。 |
例外
给定的值不介于 0 和 3 之间。