LazyImageDict
LazyImageDict
概述
LazyImageDict 是 Aspose.PDF FOSS 中用于 Python 的一个类。继承自:dict。
按需解码图像流以节省内存的字典。
此类为在 Python 程序中处理 LazyImageDict 对象提供了 8 种方法。可用的方法包括:__init__、add_loader、copy、get、items、keys、pop、values。在安装了面向 Python 的 Aspose.PDF FOSS 包后,所有公共成员均可供任何 Python 应用程序访问。
方法
| 签名 | 描述 |
|---|---|
__init__() | Calls init 在此 LazyImageDict 实例上。 |
add_loader(name: str, loader: Any) | 为图像名称添加懒加载器。 |
get(key: str, default: Any) → Any | 在此 LazyImageDict 实例上调用 get(key, default)。 |
keys() | 在此 LazyImageDict 实例上调用 keys。 |
items() | 调用此 LazyImageDict 实例的 items。 |
values() | 调用此 LazyImageDict 实例的 values。 |
pop(key: str) → Any | 调用此 LazyImageDict 实例的 pop(key)。 |
copy() → LazyImageDict | 调用此 LazyImageDict 实例的 copy。 |