PPImage
PPImage
概述
PPImage 是Python的Aspose.Slides FOSS中的一个类. 继承人: IPPImage.
代表一个图像在演示中.
这个类提供了在Python程序中使用PPImage对象的方法. 有的方法包括: replace_image. 在安装Python包的Aspose.Slides FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: binary_data, content_type, height, image, width, x,另外一个.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
binary_data | list[int] | 阅读 | 返回图像数据的副本. |
image | IImage | 阅读 | 返回图像的副本. |
content_type | str | 阅读 | 返回一个图像的MIME类型,编码在 . |
width | int | 阅读 | 返回图像的宽度. |
height | int | 阅读 | 返回图像的高度. |
x | int | 阅读 | 返回图像的X-offset. |
y | int | 阅读 | 返回一个图像的Y-offset. |
方法
| Signature | 描述情况 |
|---|---|
replace_image() | 将图像数据取代为新的内容 |