ChannelInformation

Inheritance: java.lang.Object

All Implemented Interfaces: java.lang.Cloneable

public class ChannelInformation implements Cloneable

The channel information.

Constructors

ConstructorDescription
ChannelInformation(short compressionMethod, int bitDepth, int psdVersion)

Methods

MethodDescription
create_internalized(byte[] compressedData, short compressionMethod, int width, int height, PsdHeader header)
create_internalized(short compressionMethod, PsdHeader header)
deepClone_internalized(ChannelInformation[] info)Clones the specified channel information.
equals(Object arg0)
getChannelID()Gets or sets the channel ID.
getClass()
getCompressionMethod()Gets or sets the compression method.
getData_internalized()Gets or sets the channel data.
getLength()Gets the channel length in bytes.
getUncompressedData_internalized()Gets the uncompressed data.
hashCode()
notify()
notifyAll()
saveChannelData_internalized(StreamContainer streamContainer)
saveChannelData_internalized(StreamContainer streamContainer, boolean is32BitColor)Saves the channel data.
setChannelID(short value)Gets or sets the channel ID.
setCompressedData_internalized(byte[] compressedData, int channelWidth, int channelHeight)Sets the compressed data.
setCompressionMethod(short value)Gets or sets the compression method.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ChannelInformation(short compressionMethod, int bitDepth, int psdVersion)

public ChannelInformation(short compressionMethod, int bitDepth, int psdVersion)

Parameters:

ParameterTypeDescription
compressionMethodshort
bitDepthint
psdVersionint

create_internalized(byte[] compressedData, short compressionMethod, int width, int height, PsdHeader header)

public static ChannelInformation create_internalized(byte[] compressedData, short compressionMethod, int width, int height, PsdHeader header)

Parameters:

ParameterTypeDescription
compressedDatabyte[]
compressionMethodshort
widthint
heightint
headercom.aspose.internal.fileformats.psd.sections.PsdHeader

Returns: ChannelInformation

create_internalized(short compressionMethod, PsdHeader header)

public static ChannelInformation create_internalized(short compressionMethod, PsdHeader header)

Parameters:

ParameterTypeDescription
compressionMethodshort
headercom.aspose.internal.fileformats.psd.sections.PsdHeader

Returns: ChannelInformation

deepClone_internalized(ChannelInformation[] info)

public static ChannelInformation[] deepClone_internalized(ChannelInformation[] info)

Clones the specified channel information.

Parameters:

ParameterTypeDescription
infoChannelInformation[]The information.

Returns: com.aspose.psd.fileformats.psd.layers.ChannelInformation[] - The cloned layer mask.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getChannelID()

public final short getChannelID()

Gets or sets the channel ID.

Value: The channel ID.

Returns: short

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCompressionMethod()

public final short getCompressionMethod()

Gets or sets the compression method.

Value: The compression method.

Returns: short

getData_internalized()

public final byte[] getData_internalized()

Gets or sets the channel data.

Value: The channel data.

Returns: byte[]

getLength()

public final int getLength()

Gets the channel length in bytes.

Value: The length.

Returns: int

getUncompressedData_internalized()

public final byte[] getUncompressedData_internalized()

Gets the uncompressed data.

Returns: byte[] -

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

saveChannelData_internalized(StreamContainer streamContainer)

public final void saveChannelData_internalized(StreamContainer streamContainer)

Parameters:

ParameterTypeDescription
streamContainerStreamContainer

saveChannelData_internalized(StreamContainer streamContainer, boolean is32BitColor)

public final void saveChannelData_internalized(StreamContainer streamContainer, boolean is32BitColor)

Saves the channel data.

Parameters:

ParameterTypeDescription
streamContainerStreamContainerThe stream container to save to.
is32BitColorbooleantrue if the color is in 32-bit mode

setChannelID(short value)

public final void setChannelID(short value)

Gets or sets the channel ID.

Value: The channel ID.

Parameters:

ParameterTypeDescription
valueshort

setCompressedData_internalized(byte[] compressedData, int channelWidth, int channelHeight)

public final void setCompressedData_internalized(byte[] compressedData, int channelWidth, int channelHeight)

Sets the compressed data.

Parameters:

ParameterTypeDescription
compressedDatabyte[]The compressed data.
channelWidthintWidth of the channel.
channelHeightintHeight of the channel.

setCompressionMethod(short value)

public final void setCompressionMethod(short value)

Gets or sets the compression method.

Value: The compression method.

Parameters:

ParameterTypeDescription
valueshort

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int