ImageData
Overview
ImageData is a class in Aspose.PSD FOSS for Java.
Stores the PSD Image Data section as a compression header plus raw payload bytes.
This class declares 7 methods for ImageData objects in Java programs.
Available methods include: ImageData, getCompression, getRawData, getStructure, load, save, toPublicInfo.
Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package.
Properties: compression, rawData, structure.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
structure | ImageDataStructure | Read | Gets the parsed structural interpretation of the payload. |
compression | CompressionMethod | Read | Gets the stored compression method. |
rawData | byte[] | Read | Gets the raw image data payload after the compression field. |
Methods
| Signature | Description |
|---|---|
ImageData(compression: CompressionMethod, rawData: byte[]) | Initializes a new instance of the ImageData class for callers that only preserve raw payload bytes. |
getStructure() → ImageDataStructure | Gets the parsed structural interpretation of the payload. |
getCompression() → CompressionMethod | Gets the stored compression method. |
getRawData() → byte[] | Gets the raw image data payload after the compression field. |
load(reader: BigEndianReader, isLargeDocument: boolean, height: int, channelCount: int) → ImageData | Loads the final Image Data section from the reader. |
save(writer: BigEndianWriter) | Writes the Image Data section to the writer. |
toPublicInfo() → PsdImageDataInfo | Creates a read-only public summary of the parsed merged image data structure. |