ResourceBlock

Overview

ResourceBlock is a class in Aspose.Psd FOSS for Python. Inherits from: ABC.

Represents a PSD image resource block.

This class declares 3 methods for ResourceBlock objects in Python programs. Available methods include: __init__, save, validate_values. Public members are accessible to any Python application after installing the Aspose.Psd FOSS for Python package. Properties: data_size, id, minimal_version, name, signature, size.

Properties

NameTypeAccessDescription
data_sizeintReadGets the resource data size in bytes.
minimal_versionintReadGets the minimal required PSD version.
signatureintReadGets the resource signature.
sizeintReadGets the resource block size in bytes including its data.
idintReadGets the id.
namestrReadGets the name.

Methods

SignatureDescription
__init__()Calls init on this ResourceBlock instance.
save(stream)Saves the resource block to the specified stream container.
validate_values()Validates the resource values.

See Also