ImageDataStructure
Overview
ImageDataStructure is a class in Aspose.PSD FOSS for Java.
Describes the validated structural layout of the PSD Image Data payload.
This class declares 11 methods for ImageDataStructure objects in Java programs.
Available methods include: ImageDataStructure, createRaw, createRle, createUnknown, createZip, getCompressedPayloadLength, getKind, getRowByteCounts, getRowLengthFieldSize, getUsesPrediction, usesPrediction.
Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package.
Properties: compressedPayloadLength, kind, rowByteCounts, rowLengthFieldSize, usesPrediction.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
kind | ImageDataKind | Read | Gets the kind. |
rowLengthFieldSize | int | Read | Gets the row length field size. |
rowByteCounts | long[] | Read | Gets the row byte counts. |
compressedPayloadLength | int | Read | Gets the compressed payload length. |
usesPrediction | boolean | Read | Gets the uses prediction. |
Methods
| Signature | Description |
|---|---|
ImageDataStructure(kind: ImageDataKind, rowLengthFieldSize: int, rowByteCounts: long[], compressedPayloadLength: int, usesPrediction: boolean) | Initializes a new instance of the ImageDataStructure class. |
getKind() → ImageDataKind | Returns the kind. |
getRowLengthFieldSize() → int | Returns the row length field size. |
getRowByteCounts() → long[] | Returns the row byte counts. |
getCompressedPayloadLength() → int | Returns the compressed payload length. |
getUsesPrediction() → boolean | Returns the uses prediction. |
createRaw(payloadLength: int) → ImageDataStructure | Creates a structure descriptor for raw image data. |
createRle(rowByteCounts: long[], rowLengthFieldSize: int, compressedPayloadLength: int) → ImageDataStructure | Creates a structure descriptor for RLE image data. |
createZip(payloadLength: int, usesPrediction: boolean) → ImageDataStructure | Creates a structure descriptor for ZIP-based image data. |
createUnknown(payloadLength: int) → ImageDataStructure | Creates a structure descriptor for unsupported compression values while preserving the payload. |
usesPrediction() → boolean | Calls usesPrediction on this ImageDataStructure instance. |