ChannelInformation
Inheritance: java.lang.Object
All Implemented Interfaces: java.lang.Cloneable
public class ChannelInformation implements Cloneable
The channel information.
Constructors
Constructor | Description |
---|---|
ChannelInformation(short compressionMethod, int bitDepth, int psdVersion) |
Methods
ChannelInformation(short compressionMethod, int bitDepth, int psdVersion)
public ChannelInformation(short compressionMethod, int bitDepth, int psdVersion)
Parameters:
Parameter | Type | Description |
---|---|---|
compressionMethod | short | |
bitDepth | int | |
psdVersion | int |
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:
Parameter | Type | Description |
---|---|---|
compressedData | byte[] | |
compressionMethod | short | |
width | int | |
height | int | |
header | com.aspose.internal.fileformats.psd.sections.PsdHeader |
Returns: ChannelInformation
create_internalized(short compressionMethod, PsdHeader header)
public static ChannelInformation create_internalized(short compressionMethod, PsdHeader header)
Parameters:
Parameter | Type | Description |
---|---|---|
compressionMethod | short | |
header | com.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:
Parameter | Type | Description |
---|---|---|
info | ChannelInformation[] | The information. |
Returns: com.aspose.psd.fileformats.psd.layers.ChannelInformation[] - The cloned layer mask.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
streamContainer | StreamContainer |
saveChannelData_internalized(StreamContainer streamContainer, boolean is32BitColor)
public final void saveChannelData_internalized(StreamContainer streamContainer, boolean is32BitColor)
Saves the channel data.
Parameters:
Parameter | Type | Description |
---|---|---|
streamContainer | StreamContainer | The stream container to save to. |
is32BitColor | boolean | true 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:
Parameter | Type | Description |
---|---|---|
value | short |
setCompressedData_internalized(byte[] compressedData, int channelWidth, int channelHeight)
public final void setCompressedData_internalized(byte[] compressedData, int channelWidth, int channelHeight)
Sets the compressed data.
Parameters:
Parameter | Type | Description |
---|---|---|
compressedData | byte[] | The compressed data. |
channelWidth | int | Width of the channel. |
channelHeight | int | Height of the channel. |
setCompressionMethod(short value)
public final void setCompressionMethod(short value)
Gets or sets the compression method.
Value: The compression method.
Parameters:
Parameter | Type | Description |
---|---|---|
value | short |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |