LayerResource

Overview

LayerResource is a class in Aspose.PSD FOSS for Java.

Represents a PSD layer resource.

This class declares 5 methods for LayerResource objects in Java programs. Available methods include: getKey, getLength, getPsdVersion, getSignature, save. Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package. Properties: PSB_RESOURCE_SIGNATURE, RESOURCE_SIGNATURE, key, length, psdVersion, signature.

Properties

NameTypeAccessDescription
keyintReadGets the layer resource key.
lengthintReadGets the layer resource length in bytes.
psdVersionintReadGets the minimal PSD version required for the layer resource.
signatureintReadGets the layer resource signature.
RESOURCE_SIGNATUREintReadThe common layer resource signature.
PSB_RESOURCE_SIGNATUREintReadThe PSB-specific layer resource signature.

Methods

SignatureDescription
getKey() → intGets the layer resource key.
getLength() → intGets the layer resource length in bytes.
getPsdVersion() → intGets the minimal PSD version required for the layer resource.
getSignature() → intGets the layer resource signature.
save(streamContainer: StreamContainer, psdVersion: int)Saves the layer resource to the specified stream container.

See Also