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

NameTypeAccessDescription
kindImageDataKindReadGets the kind.
rowLengthFieldSizeintReadGets the row length field size.
rowByteCountslong[]ReadGets the row byte counts.
compressedPayloadLengthintReadGets the compressed payload length.
usesPredictionbooleanReadGets the uses prediction.

Methods

SignatureDescription
ImageDataStructure(kind: ImageDataKind, rowLengthFieldSize: int, rowByteCounts: long[], compressedPayloadLength: int, usesPrediction: boolean)Initializes a new instance of the ImageDataStructure class.
getKind() → ImageDataKindReturns the kind.
getRowLengthFieldSize() → intReturns the row length field size.
getRowByteCounts() → long[]Returns the row byte counts.
getCompressedPayloadLength() → intReturns the compressed payload length.
getUsesPrediction() → booleanReturns the uses prediction.
createRaw(payloadLength: int) → ImageDataStructureCreates a structure descriptor for raw image data.
createRle(rowByteCounts: long[], rowLengthFieldSize: int, compressedPayloadLength: int) → ImageDataStructureCreates a structure descriptor for RLE image data.
createZip(payloadLength: int, usesPrediction: boolean) → ImageDataStructureCreates a structure descriptor for ZIP-based image data.
createUnknown(payloadLength: int) → ImageDataStructureCreates a structure descriptor for unsupported compression values while preserving the payload.
usesPrediction() → booleanCalls usesPrediction on this ImageDataStructure instance.

See Also