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
| Name | Type | Access | Description |
|---|---|---|---|
channelId | short | Read/Write | Gets or sets the channel id. |
compressionMethod | CompressionMethod | Read/Write | Gets or sets the compression method. |
length | int | Read | Gets the length. |
Methods
| Signature | Description |
|---|---|
ChannelInformation(compressionMethod: CompressionMethod, bitDepth: int, psdVersion: int) | Creates a new ChannelInformation instance from compressionMethod, bitDepth, psdVersion. |
getChannelId() → short | Returns the channel id. |
setChannelId(channelId: short) | Sets the channel id value. |
getCompressionMethod() → CompressionMethod | Returns the compression method. |
setCompressionMethod(compressionMethod: CompressionMethod) | Sets the compression method value. |
getLength() → int | Returns the length. |