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

NameTypeAccessDescription
structureImageDataStructureReadGets the parsed structural interpretation of the payload.
compressionCompressionMethodReadGets the stored compression method.
rawDatabyte[]ReadGets the raw image data payload after the compression field.

Methods

SignatureDescription
ImageData(compression: CompressionMethod, rawData: byte[])Initializes a new instance of the ImageData class for callers that only preserve raw payload bytes.
getStructure() → ImageDataStructureGets the parsed structural interpretation of the payload.
getCompression() → CompressionMethodGets 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) → ImageDataLoads the final Image Data section from the reader.
save(writer: BigEndianWriter)Writes the Image Data section to the writer.
toPublicInfo() → PsdImageDataInfoCreates a read-only public summary of the parsed merged image data structure.

See Also