
**Summary:** The class to store image pixels data and its bounds.

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

**Full Name:** aspose.psd.PixelsData

**Aspose.PSD Version:** 24.12.0

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [PixelsData()](#PixelsData__1) | Initializes a new instance of the [PixelsData](/psd/python-net/aspose.psd/pixelsdata/) class. |
| [PixelsData(pixels, bounds)](#PixelsData_pixels_bounds_2) | Initializes a new instance of the [PixelsData](/psd/python-net/aspose.psd/pixelsdata/) class. |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| bounds | [Rectangle](/psd/python-net/aspose.psd/rectangle) | r/w | Gets or sets the bounds of pixels data. |
| pixels | int | r/w | Gets or sets the pixels data. |


### Constructor: PixelsData() {#PixelsData__1}


```
 PixelsData() 
```

Initializes a new instance of the [PixelsData](/psd/python-net/aspose.psd/pixelsdata/) class.

### Constructor: PixelsData(pixels, bounds) {#PixelsData_pixels_bounds_2}


```
 PixelsData(pixels, bounds) 
```

Initializes a new instance of the [PixelsData](/psd/python-net/aspose.psd/pixelsdata/) class.

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| pixels | int | The pixels data. |
| bounds | [Rectangle](/psd/python-net/aspose.psd/rectangle) | The pixels bounds rectangle. |

