ImageCollection
概述
ImageCollection 是 Aspose.OMR FOSS 中用于 Python 的类。
仅追加、区分大小写的名称 -> 图像字节映射,用于内存中的图像
referenced by markup (``?image=<name>``).此类为 Python 程序中的 ImageCollection 对象声明了 4 个方法。可用的方法包括:Add、Contains、__init__、as_dict。安装 Aspose.OMR FOSS for Python 包后,公共成员可供任何 Python 应用程序访问。属性:Count。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Count | int | 读取 | 获取计数。 |
方法
| 签名 | 描述 |
|---|---|
__init__() | Calls init 在此 ImageCollection 实例上。 |
Add(name: str, image: typing.Any) | 在此 ImageCollection 实例上调用 Add(name, image)。 |
Contains(name: str) → bool | 在此 ImageCollection 实例上调用 Contains(name)。 |
as_dict() → dict[str, bytes] | 在此 ImageCollection 实例上调用 as_dict。 |