UnknownResource class

UnknownResource class

The unknown resource. When a resource block is not recognized then this resource block is created.

Inheritance: UnknownResourceResourceBlock

The UnknownResource 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.
dataGets the resource data.

Methods

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

See Also