---
title: "CmxRasterImage Class"
url: "https://reference.aspose.com/imaging/python-net/aspose.imaging.fileformats.cmx.objectmodel.specs/cmxrasterimage/"
---


**Summary:** Represents the data specified for raster images.

**Module:** [aspose.imaging.fileformats.cmx.objectmodel.specs](/imaging/python-net/aspose.imaging.fileformats.cmx.objectmodel.specs/)

**Full Name:** aspose.imaging.fileformats.cmx.objectmodel.specs.CmxRasterImage

**Inheritance:** ICmxObjectSpec

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [CmxRasterImage()](#CmxRasterImage__1) | Initializes a new instance of the CmxRasterImage class |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| bits_per_pixel | int | r/w | Gets or sets the bits per pixel. |
| bytes_per_line | int | r/w | Gets or sets the size of the line.<br/>            Measures in bytes. |
| color_model | int | r/w | Gets or sets the color model. |
| color_palette | int[] | r/w | Gets or sets the color palette array.<br/>            Elements is ARGB color values represents in int |
| compressed_size | int | r/w | Gets or sets the compressed size of the image.<br/>            Measures in bytes. |
| compression | int | r/w | Gets or sets the compression. |
| height | int | r/w | Gets or sets the height of the image.<br/>            Measures in pixels. |
| is_mask | bool | r/w | Gets or sets a value indicating whether this instance is mask. |
| raw_data | System.Byte | r/w | Gets or sets the raw byte data of the image. |
| size | int | r/w | Gets or sets the size of the image.<br/>            Measures in bytes. |
| type | int | r/w | Gets or sets the type of the image. |
| width | int | r/w | Gets or sets the width of the image.<br/>            Measures in pixels. |


### Constructor: CmxRasterImage() {#CmxRasterImage__1}


```
 CmxRasterImage() 
```

Initializes a new instance of the CmxRasterImage class

