ImageResourcesSection

ImageResourcesSection

Overview

ImageResourcesSection is a class in Aspose.Psd FOSS for Python.

Represents the PSD Image Resources section as raw‑preserved bytes plus unknown‑only parsed summaries.

This class declares 5 methods for ImageResourcesSection objects in Python programs. Available methods include: Empty, __init__, empty, load, save. Public members are accessible to any Python application after installing the Aspose.Psd FOSS for Python package. Properties: has_resources, raw_data, resources.

Properties

NameTypeAccessDescription
has_resourcesboolReadGets a value indicating whether the section contains raw bytes or parsed resources.
raw_databytesReadGets the raw data.
resourcesList[UnknownResource]ReadGets the resources.

Methods

SignatureDescription
empty() → "ImageResourcesSection"Gets an empty Image Resources section.
Empty() → "ImageResourcesSection"Alias for empty() to match external usage.
__init__(raw_data: bytes, resources: List[UnknownResource])Calls init(raw_data, resources) on this ImageResourcesSection instance.
load(reader: BigEndianReader) → "ImageResourcesSection"Loads the Image Resources section from the current reader position.
save(writer: BigEndianWriter)Writes the Image Resources section with raw preservation when available.

See Also