Aspose.PSD FOSS for Java

API reference for Aspose.PSD FOSS for Java v26.11.0. 60 public types organized by module.

Core API

ClassDescription
BigEndianReaderReads big-endian data from a stream.
BigEndianWriterWrites big-endian data to a stream.
ImageProvides the Aspose.PSD-compatible base image entry point for loading PSD/PSB documents.
ImageLoaderProvides static load methods that open a PSD or PSB file from a path or a stream.
LayerAndMaskSectionReaderReads PSD/PSB layer and mask information sections.
LayerAndMaskSectionWriterWrites PSD/PSB layer and mask information sections.
PointRepresents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.
PsdImageRepresents a PSD image that can be loaded, inspected, and saved without rendering.
PsdSectionReaderProvides bounded reads for PSD/PSB sections that are stored in memory by this implementation.
RectangleStores a set of four integers that represent the location and size of a rectangle.
RectangleFStores a set of four floating-point numbers that represent the location and size of a rectangle.
ResourceBlockRepresents a PSD image resource block.
SizeRepresents an ordered pair of integer width and height values that defines a size.
StreamContainerRepresents a stream container used by resource save APIs.

Enumerations

EnumerationDescription
ColorModesDefines the color modes supported by PSD files.
CompressionMethodDefines the compression methods used for image data in PSD files.
PsdVersionRepresents the supported PSD container versions.
ResourceBlockStateRepresents resource block state.

Core Exceptions

ClassDescription
PsdLoadExceptionException that is thrown when an error occurs while loading a PSD file.
PsdSaveExceptionException that is thrown when an error occurs while saving a PSD file.

Layers

ClassDescription
BlendRangeRepresents a PSD layer blend range.
ChannelInformationDescribes one layer channel: its channel id, compression method and data length.
GlobalLayerMaskInfoRepresents global layer mask information.
LayerRepresents a single PSD layer with basic metadata used by the FOSS library.
LayerBlendModeMapperConverts between the BlendMode enum and the four-character blend mode key stored in a PSD file.
LayerBlendingRangesDataRepresents PSD layer blending ranges data.
LayerBlendingRangesInfoProvides a read-only summary of the parsed layer blending ranges subsection.
LayerChannelInfoStores one channel metadata entry from a layer record.
LayerMaskDataDefines the base class for PSD layer mask data.
LayerMaskDataShortDefines layer mask data for layers that have only a raster or vector mask.
LayerMaskInfoProvides a read-only summary of the parsed layer mask subsection.
LayerRawDataHolds raw layer data parsed from a PSD file.
LayerRecordReaderReads one layer record from a PSD or PSB file.
LayerRecordWriterWrites PSD/PSB layer records from the in-memory layer model.
LayerResourceRepresents a PSD layer resource.
PsdLayerChannelInfoProvides a read-only summary of one parsed layer channel record.
RawLayerMaskSectionKeeps the raw bytes of a layer mask section.

Enumerations

EnumerationDescription
BlendModeDefines the blend modes used for layers in PSD files.
LayerMaskFlagsFlags of a layer mask.

Loaders

ClassDescription
PsdImageLoaderLoads the sections of a PSD or PSB document from an input stream.

Resources

ClassDescription
ImageResourceIdsProvides common PSD image resource identifiers used by tests and fixtures.
IndexedColorPaletteThe palette of an indexed-color document, parsed from the color mode data.
IndexedColorPaletteInfoProvides a read-only view over an indexed-color PSD palette.
PreservedResourceBlockAdapts a raw-preserved image resource to the official ResourceBlock surface.
PsdResourceInfoProvides a read-only summary of one parsed PSD image resource block.
UnknownResourceRepresents a parsed PSD image resource block without any ID-specific semantics.

Enumerations

EnumerationDescription
PsdResourceKindIdentifies the semantic classification exposed for an image resource block.

Sections

ClassDescription
ColorDataRepresents the Color Mode Data section of a PSD file.
ImageDataStores the PSD Image Data section as a compression header plus raw payload bytes.
ImageDataStructureDescribes the validated structural layout of the PSD Image Data payload.
ImageResourcesSectionHolds the parsed Image Resources section of a PSD or PSB file.
LayerAndMaskSectionRepresents the PSD/PSB Layer and Mask Information section and its raw-preserved save state.
PsdColorDataInfoProvides a read-only view over the Color Mode Data section.
PsdHeaderContains the header information of a Photoshop document.
PsdImageDataInfoProvides a read-only summary of the PSD merged image data structure.
PsdImageDocumentStateStores parsed PSD/PSB document sections used by PsdImage.

Enumerations

EnumerationDescription
ImageDataKindIdentifies the structural shape of the PSD Image Data payload.
PsdColorDataKindDescribes how the Color Mode Data payload was interpreted for the loaded document.
SeekOriginReference point for the seek operations of BigEndianReader and BigEndianWriter.

Write Descriptors

ClassDescription
PsdImageWriterWrites the sections of a PSD or PSB document to an output stream.

See Also