ExportImages

Overview

ExportImages is a class in Aspose.PDF FOSS for Python.

Figures written as PNG files in directory, each distinct image once.

This class declares 3 methods for ExportImages objects in Python programs. Available methods include: __call__, __init__, outputs. Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package. Properties: base, directory, files, stem.

Properties

NameTypeAccessDescription
directory-ReadGets the directory.
stem-ReadGets the stem.
base-ReadGets the base.
filesdict[bytes, Path]ReadGets the files.

Methods

SignatureDescription
__init__(directory: Path, stem: str, base: Path)Calls init(directory, stem, base) on this ExportImages instance.
__call__(png: bytes) → strCalls call(png) on this ExportImages instance.
outputs() → list[tuple[Path, bytes]]Calls outputs on this ExportImages instance.

See Also