Aspose.PSD FOSS for Python
API reference for Aspose.PSD FOSS for Python. 64 public types organized by module.
Core API
| Class | Description |
|---|
BigEndianReader | Reads big-endian data from a stream. |
BigEndianWriter | BigEndianWriter is a class in Aspose.PSD FOSS for Python exposing __enter__, __exit__, __init__, dispose, get_pascal_string_storage_length_aligned_to4, seek, and 20 more. |
Image | Abstract base class for image objects. |
ImageLoader | Provides the load functionality for images. |
LayerAndMaskSectionReader | LayerAndMaskSectionReader is a class in Aspose.PSD FOSS for Python exposing load. |
LayerAndMaskSectionWriter | Writes PSD/PSB Layer and Mask Information sections. |
Point | Point is a class in Aspose.PSD FOSS for Python exposing __eq__, __hash__, __init__, __ne__, __str__, empty, and 1 more. |
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 | Size is a class in Aspose.PSD FOSS for Python exposing __eq__, __hash__, __init__, __ne__, __str__, empty, and 1 more. |
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 | PsdVersion is an enumeration in Aspose.PSD FOSS for Python defining Psd, Psb. |
ResourceBlockState | Represents resource block state. |
SeekOrigin | Defines seek origin for reader. |
Conversion
| Class | Description |
|---|
BigEndianBitConverter | Provides helper methods for reading big-endian primitive values from byte arrays. |
Core Exceptions
| Class | Description |
|---|
ArgumentNullException | Exception that is thrown when argument is null. |
NotSupportedException | Exception that is thrown when operation is not supported. |
PsdLoadException | Exception that is thrown when an error occurs while loading a PSD file. |
PsdSaveException | Initializes a new instance of the PsdSaveException class. |
Layers
| Class | Description |
|---|
BlendRange | Represents a PSD layer blend range. |
ChannelInformation | Represents PSD layer channel information. |
GlobalLayerMaskInfo | GlobalLayerMaskInfo is a class in Aspose.PSD FOSS for Python exposing empty. |
Layer | Layer metadata such as name, bounds, opacity, visibility, and blend mode can be read and modified through the PsdImage.layers collection. |
LayerBlendModeMapper | LayerBlendModeMapper is a class in Aspose.PSD FOSS for Python exposing get_blend_mode_key, parse_blend_mode_key. |
LayerBlendingRangesData | Represents PSD layer blending ranges data. |
LayerBlendingRangesInfo | LayerBlendingRangesInfo is a class in Aspose.PSD FOSS for Python exposing __init__. |
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 | LayerMaskInfo is a class in Aspose.PSD FOSS for Python exposing __init__. |
LayerRawData | LayerRawData is a class in Aspose.PSD FOSS for Python exposing WithBlendModeKey, __init__, empty, with_blend_mode_key. |
LayerRecordReader | LayerRecordReader is a class in Aspose.PSD FOSS for Python exposing load. |
LayerRecordWriter | Writes PSD/PSB layer records from the in-memory Layer model. |
LayerResource | LayerResource is a class in Aspose.PSD FOSS for Python exposing save. |
PsdLayerChannelInfo | Provides a read-only summary of one parsed layer channel record. |
RawLayerBlendingRangesSection | RawLayerBlendingRangesSection is a class in Aspose.PSD FOSS for Python exposing __init__, empty, load. |
RawLayerMaskSection | RawLayerMaskSection is a class in Aspose.PSD FOSS for Python exposing __init__, empty, load. |
Enumerations
| Enumeration | Description |
|---|
BlendMode | Defines the blend modes used for layers in PSD files. |
LayerMaskFlags | Defines PSD layer mask flags. |
Loaders
| Class | Description |
|---|
PsdImageLoader | PsdImageLoader is a class in Aspose.PSD FOSS for Python exposing load. |
Resources
| Class | Description |
|---|
ImageResourceIds | Provides common PSD image resource identifiers used by tests and fixtures. |
IndexedColorPalette | IndexedColorPalette is a class in Aspose.PSD FOSS for Python exposing __init__, parse, to_public_info. |
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 | Initializes a new instance of the UnknownResource class. |
Enumerations
| Enumeration | Description |
|---|
PsdResourceKind | PsdResourceKind is an enumeration in Aspose.PSD FOSS for Python defining UNKNOWN, GLOBAL_ANGLE, ICC_PROFILE, ICC_UNTAGGED_PROFILE. |
Sections
| Class | Description |
|---|
ColorData | Stores the PSD Color Mode Data section as raw bytes plus mode‑aware parsed structure when available. |
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 | Represents the PSD Image Resources section as raw‑preserved bytes plus unknown‑only parsed summaries. |
LayerAndMaskSection | Represents the PSD/PSB Layer and Mask Information section and its raw-preserved save state. |
PsdColorDataInfo | Provides a read-only summary of the PSD Color Mode Data section. |
PsdHeader | Contains the header information of a Photoshop document. |
PsdImageDataInfo | PsdImageDataInfo is a class in Aspose.PSD FOSS for Python exposing __init__. |
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. |
Write Descriptors
| Class | Description |
|---|
PsdImageWriter | Writes parsed PSD/PSB document state to a stream. |
See Also