---
Product: psd
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/psd/python/channelinformation
---

# ChannelInformation

## Overview

`ChannelInformation` is a class in Aspose.PSD FOSS for Python.

Represents PSD layer channel information.

This class declares 2 methods for ChannelInformation objects in Python programs.
Available methods include: `__init__`, `from_layer_channel_info`.
Public members are accessible to any Python application after installing the Aspose.PSD FOSS for Python package.
Properties: `ChannelID`, `compression_method`, `length`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `ChannelID` | - | Read/Write | Gets or sets the channel identifier. |
| `compression_method` | - | Read | Gets the compression method. |
| `length` | - | Read | Gets the length. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(compression_method, bit_depth, psd_version)` | Initializes a new instance of the ChannelInformation class. |
| `from_layer_channel_info(channel_info: LayerChannelInfo)` | Creates public channel information from the internal layer channel metadata. |

## See Also

- [Aspose.PSD for Python — Enterprise API Reference](https://reference.aspose.com/psd/python-net/)