LazyImageDict
Overview
LazyImageDict is a class in Aspose.PDF FOSS for Python.
Inherits from: dict.
Dictionary that decodes image streams on demand to save memory.
This class provides 8 methods for working with LazyImageDict objects in Python programs.
Available methods include: __init__, add_loader, copy, get, items, keys, pop, values.
All public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Methods
| Signature | Description |
|---|---|
__init__() | Calls init on this LazyImageDict instance. |
add_loader(name: str, loader: Any) | Add a lazy loader for an image name. |
get(key: str, default: Any) → Any | Calls get(key, default) on this LazyImageDict instance. |
keys() | Calls keys on this LazyImageDict instance. |
items() | Calls items on this LazyImageDict instance. |
values() | Calls values on this LazyImageDict instance. |
pop(key: str) → Any | Calls pop(key) on this LazyImageDict instance. |
copy() → LazyImageDict | Calls copy on this LazyImageDict instance. |