MemoryGenerationResult

MemoryGenerationResult

概述

MemoryGenerationResult 是 Aspose.OMR FOSS 中用于 Python 的一个类。

围绕 GenerationResult 的包装器,将输出公开为内存流。

此类为 Python 程序中的 MemoryGenerationResult 对象声明了 4 个方法。可用的方法包括:GetImages、GetOmr、GetPDF、__init__。在安装了用于 Python 的 Aspose.OMR FOSS 包后,任何 Python 应用程序都可以访问公共成员。

方法

签名描述
__init__(generationResult: GenerationResult)Calls init(generationResult) 在此 MemoryGenerationResult 实例上。
GetImages() → list[typing.BinaryIO]PNG 页面图像作为内存中的字节流。
GetOmr(encoding: str) → typing.BinaryIO.omr 模板 JSON 作为内存中的字节流。
GetPDF() → typing.BinaryIO表单作为单个(多页)PDF流。

另请参阅

 中文