WmpBitmapEncoder.SubsamplingLevel 属性

定义

获取或设置 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 之间。

适用于