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

NameTypeAccessDescription
headerPsdHeaderReadGets the parsed PSD/PSB header, if present.
colorDataColorDataReadGets the parsed Color Mode Data section.
imageResourcesSectionImageResourcesSectionReadGets the parsed and raw-preserved Image Resources section.
layerAndMaskSectionLayerAndMaskSectionReadGets the parsed and raw-preserved Layer and Mask Information section.
imageDataImageDataReadGets the parsed merged Image Data section.
EMPTYPsdImageDocumentStateReadAn empty document state before a PSD/PSB stream has been parsed.

Methods

SignatureDescription
PsdImageDocumentState(header: PsdHeader, colorData: ColorData, imageResourcesSection: ImageResourcesSection, layerAndMaskSection: LayerAndMaskSection, imageData: ImageData)Initializes a new instance of the PsdImageDocumentState class.
getHeader() → PsdHeaderGets the parsed PSD/PSB header, if present.
getColorData() → ColorDataGets the parsed Color Mode Data section.
getImageResourcesSection() → ImageResourcesSectionGets the parsed and raw-preserved Image Resources section.
getLayerAndMaskSection() → LayerAndMaskSectionGets the parsed and raw-preserved Layer and Mask Information section.
getImageData() → ImageDataGets the parsed merged Image Data section.
withLayerAndMaskSection(layerAndMaskSection: LayerAndMaskSection) → PsdImageDocumentStateCreates a state copy with a replaced Layer and Mask Information section.

See Also