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
| Name | Type | Access | Description |
|---|---|---|---|
has_resources | bool | Read | Gets a value indicating whether the section contains raw bytes or parsed resources. |
raw_data | bytes | Read | Gets the raw data. |
resources | List[UnknownResource] | Read | Gets the resources. |
Methods
| Signature | Description |
|---|---|
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. |