PsdImageDocumentState
Overview
PsdImageDocumentState is a class in Aspose.PSD FOSS for Java.
Stores parsed PSD/PSB document sections used by PsdImage.
This class declares 7 methods for PsdImageDocumentState objects in Java programs.
Available methods include: PsdImageDocumentState, getColorData, getHeader, getImageData, getImageResourcesSection, getLayerAndMaskSection, withLayerAndMaskSection.
Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package.
Properties: EMPTY, colorData, header, imageData, imageResourcesSection, layerAndMaskSection.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
header | PsdHeader | Read | Gets the parsed PSD/PSB header, if present. |
colorData | ColorData | Read | Gets the parsed Color Mode Data section. |
imageResourcesSection | ImageResourcesSection | Read | Gets the parsed and raw-preserved Image Resources section. |
layerAndMaskSection | LayerAndMaskSection | Read | Gets the parsed and raw-preserved Layer and Mask Information section. |
imageData | ImageData | Read | Gets the parsed merged Image Data section. |
EMPTY | PsdImageDocumentState | Read | An empty document state before a PSD/PSB stream has been parsed. |
Methods
| Signature | Description |
|---|---|
PsdImageDocumentState(header: PsdHeader, colorData: ColorData, imageResourcesSection: ImageResourcesSection, layerAndMaskSection: LayerAndMaskSection, imageData: ImageData) | Initializes a new instance of the PsdImageDocumentState class. |
getHeader() → PsdHeader | Gets the parsed PSD/PSB header, if present. |
getColorData() → ColorData | Gets the parsed Color Mode Data section. |
getImageResourcesSection() → ImageResourcesSection | Gets the parsed and raw-preserved Image Resources section. |
getLayerAndMaskSection() → LayerAndMaskSection | Gets the parsed and raw-preserved Layer and Mask Information section. |
getImageData() → ImageData | Gets the parsed merged Image Data section. |
withLayerAndMaskSection(layerAndMaskSection: LayerAndMaskSection) → PsdImageDocumentState | Creates a state copy with a replaced Layer and Mask Information section. |