PsImageResource
PsImageResource
Overview
PsImageResource 是Python的Aspose.Page FOSS中的一个类.
代表一个解码的图像资源.
特性: bits_per_component, color_space, data, decode, filter, filter_params,另外6个.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
image_id | str | 阅读/写作 | 获取或设置图像ID. |
data | bytes | 阅读/写作 | 获取或设置数据. |
width | int | 阅读/写作 | 得到或设置宽度. |
height | int | 阅读/写作 | 得到或设置高度. |
bits_per_component | int | 阅读/写作 | 得到或设置每个组件的位. |
color_space | str | 阅读/写作 | 得到或设置颜色空间. |
interpolate | bool | 阅读/写作 | 得到或设置交叉值. |
mask | bool | 阅读/写作 | 得到或设置面具. |
filter | `str | None` | 阅读/写作 |
filter_params | `dict | None` | 阅读/写作 |
decode | `tuple[float, …] | None` | 阅读/写作 |
mask_polarity | bool | 阅读/写作 | 得到或设置面具极性. |