
**Summary:** The channel information.

**Module:** [aspose.psd.fileformats.psd.layers](/psd/python-net/aspose.psd.fileformats.psd.layers/)

**Full Name:** aspose.psd.fileformats.psd.layers.ChannelInformation

**Aspose.PSD Version:** 24.12.0

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [ChannelInformation(compression_method, bit_depth, psd_version)](#ChannelInformation_compression_method_bit_depth_psd_version_1) | Initializes a new instance of the [ChannelInformation](/psd/python-net/aspose.psd.fileformats.psd.layers/channelinformation/) class. |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| channel_id | short | r/w | Gets or sets the channel ID. |
| compression_method | [CompressionMethod](/psd/python-net/aspose.psd.fileformats.psd/compressionmethod) | r/w | Gets or sets the compression method. |
| length | int | r | Gets the channel length in bytes. |


### Constructor: ChannelInformation(compression_method, bit_depth, psd_version) {#ChannelInformation_compression_method_bit_depth_psd_version_1}


```
 ChannelInformation(compression_method, bit_depth, psd_version) 
```

Initializes a new instance of the [ChannelInformation](/psd/python-net/aspose.psd.fileformats.psd.layers/channelinformation/) class.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| compression_method | [CompressionMethod](/psd/python-net/aspose.psd.fileformats.psd/compressionmethod) | The compression method. |
| bit_depth | int | The bit depth. |
| psd_version | int | The PSD version. |

