ChannelInformation
概述
ChannelInformation 是 Aspose.Psd FOSS 中用于 Python 的一个类。
表示 PSD 图层通道信息。
此类为 Python 程序中的 ChannelInformation 对象声明了 2 个方法。可用的方法包括:__init__、from_layer_channel_info。在安装了用于 Python 的 Aspose.Psd FOSS 包后,公共成员对任何 Python 应用程序均可访问。属性:ChannelID、compression_method、length。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
ChannelID | `` | 读写 | 获取或设置通道标识符。 |
compression_method | `` | 读取 | 获取压缩方法。 |
length | `` | 读取 | 获取长度。 |
方法
| 签名 | 描述 |
|---|---|
__init__(compression_method, bit_depth, psd_version) | 初始化 ChannelInformation 类的新实例。 |
from_layer_channel_info(channel_info: LayerChannelInfo) | 从内部层通道元数据创建公共通道信息。 |