ResourceBlock class

ResourceBlock class

The resource block.

The ResourceBlock type exposes the following members:

Properties

PropertyDescription
signatureGets the resource signature. Should be always ‘8BIM’.
idGets or sets the unique identifier for the resource.
nameGets or sets the resource name. Pascal string, padded to make the size even (a null name consists of two bytes of 0).
data_sizeGets the resource data size in bytes.
sizeGets the resource block size in bytes including its data.
minimal_versionGets the minimal required PSD version.
RESOUCE_BLOCK_SIGNATUREThe resource signature.

Methods

MethodDescription
saveSaves the resource block to the specified stream.
validate_valuesValidates the resource values.

See Also