ChannelInformation

Overview

ChannelInformation is a class in Aspose.PSD FOSS for Java.

Describes one layer channel: its channel id, compression method and data length.

This class declares 6 methods for ChannelInformation objects in Java programs. Available methods include: ChannelInformation, getChannelId, getCompressionMethod, getLength, setChannelId, setCompressionMethod. Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package. Properties: channelId, compressionMethod, length.

Properties

NameTypeAccessDescription
channelIdshortRead/WriteGets or sets the channel id.
compressionMethodCompressionMethodRead/WriteGets or sets the compression method.
lengthintReadGets the length.

Methods

SignatureDescription
ChannelInformation(compressionMethod: CompressionMethod, bitDepth: int, psdVersion: int)Creates a new ChannelInformation instance from compressionMethod, bitDepth, psdVersion.
getChannelId() → shortReturns the channel id.
setChannelId(channelId: short)Sets the channel id value.
getCompressionMethod() → CompressionMethodReturns the compression method.
setCompressionMethod(compressionMethod: CompressionMethod)Sets the compression method value.
getLength() → intReturns the length.

See Also