Aspose.PSD FOSS for Java
API reference for Aspose.PSD FOSS for Java v26.11.0. 60 public types organized by module.
Core API
| Class | Description |
|---|
BigEndianReader | Reads big-endian data from a stream. |
BigEndianWriter | Writes big-endian data to a stream. |
Image | Provides the Aspose.PSD-compatible base image entry point for loading PSD/PSB documents. |
ImageLoader | Provides static load methods that open a PSD or PSB file from a path or a stream. |
LayerAndMaskSectionReader | Reads PSD/PSB layer and mask information sections. |
LayerAndMaskSectionWriter | Writes PSD/PSB layer and mask information sections. |
Point | Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane. |
PsdImage | Represents a PSD image that can be loaded, inspected, and saved without rendering. |
PsdSectionReader | Provides bounded reads for PSD/PSB sections that are stored in memory by this implementation. |
Rectangle | Stores a set of four integers that represent the location and size of a rectangle. |
RectangleF | Stores a set of four floating-point numbers that represent the location and size of a rectangle. |
ResourceBlock | Represents a PSD image resource block. |
Size | Represents an ordered pair of integer width and height values that defines a size. |
StreamContainer | Represents a stream container used by resource save APIs. |
Enumerations
| Enumeration | Description |
|---|
ColorModes | Defines the color modes supported by PSD files. |
CompressionMethod | Defines the compression methods used for image data in PSD files. |
PsdVersion | Represents the supported PSD container versions. |
ResourceBlockState | Represents resource block state. |
Core Exceptions
| Class | Description |
|---|
PsdLoadException | Exception that is thrown when an error occurs while loading a PSD file. |
PsdSaveException | Exception that is thrown when an error occurs while saving a PSD file. |
Layers
| Class | Description |
|---|
BlendRange | Represents a PSD layer blend range. |
ChannelInformation | Describes one layer channel: its channel id, compression method and data length. |
GlobalLayerMaskInfo | Represents global layer mask information. |
Layer | Represents a single PSD layer with basic metadata used by the FOSS library. |
LayerBlendModeMapper | Converts between the BlendMode enum and the four-character blend mode key stored in a PSD file. |
LayerBlendingRangesData | Represents PSD layer blending ranges data. |
LayerBlendingRangesInfo | Provides a read-only summary of the parsed layer blending ranges subsection. |
LayerChannelInfo | Stores one channel metadata entry from a layer record. |
LayerMaskData | Defines the base class for PSD layer mask data. |
LayerMaskDataShort | Defines layer mask data for layers that have only a raster or vector mask. |
LayerMaskInfo | Provides a read-only summary of the parsed layer mask subsection. |
LayerRawData | Holds raw layer data parsed from a PSD file. |
LayerRecordReader | Reads one layer record from a PSD or PSB file. |
LayerRecordWriter | Writes PSD/PSB layer records from the in-memory layer model. |
LayerResource | Represents a PSD layer resource. |
PsdLayerChannelInfo | Provides a read-only summary of one parsed layer channel record. |
RawLayerMaskSection | Keeps the raw bytes of a layer mask section. |
Enumerations
| Enumeration | Description |
|---|
BlendMode | Defines the blend modes used for layers in PSD files. |
LayerMaskFlags | Flags of a layer mask. |
Loaders
| Class | Description |
|---|
PsdImageLoader | Loads the sections of a PSD or PSB document from an input stream. |
Resources
| Class | Description |
|---|
ImageResourceIds | Provides common PSD image resource identifiers used by tests and fixtures. |
IndexedColorPalette | The palette of an indexed-color document, parsed from the color mode data. |
IndexedColorPaletteInfo | Provides a read-only view over an indexed-color PSD palette. |
PreservedResourceBlock | Adapts a raw-preserved image resource to the official ResourceBlock surface. |
PsdResourceInfo | Provides a read-only summary of one parsed PSD image resource block. |
UnknownResource | Represents a parsed PSD image resource block without any ID-specific semantics. |
Enumerations
| Enumeration | Description |
|---|
PsdResourceKind | Identifies the semantic classification exposed for an image resource block. |
Sections
| Class | Description |
|---|
ColorData | Represents the Color Mode Data section of a PSD file. |
ImageData | Stores the PSD Image Data section as a compression header plus raw payload bytes. |
ImageDataStructure | Describes the validated structural layout of the PSD Image Data payload. |
ImageResourcesSection | Holds the parsed Image Resources section of a PSD or PSB file. |
LayerAndMaskSection | Represents the PSD/PSB Layer and Mask Information section and its raw-preserved save state. |
PsdColorDataInfo | Provides a read-only view over the Color Mode Data section. |
PsdHeader | Contains the header information of a Photoshop document. |
PsdImageDataInfo | Provides a read-only summary of the PSD merged image data structure. |
PsdImageDocumentState | Stores parsed PSD/PSB document sections used by PsdImage. |
Enumerations
| Enumeration | Description |
|---|
ImageDataKind | Identifies the structural shape of the PSD Image Data payload. |
PsdColorDataKind | Describes how the Color Mode Data payload was interpreted for the loaded document. |
SeekOrigin | Reference point for the seek operations of BigEndianReader and BigEndianWriter. |
Write Descriptors
| Class | Description |
|---|
PsdImageWriter | Writes the sections of a PSD or PSB document to an output stream. |
See Also