**Inheritance:**
java.lang.Object
```
public final class ColorMatrixExtensions
```

The `ColorMatrix` extension methods.
## Methods

| Method | Description |
| --- | --- |
| [toGdiColorMatrix(ColorMatrix colorMatrix)](#toGdiColorMatrix-com.aspose.imaging.ColorMatrix-) | Converts the `Aspose.Imaging.ColorMatrix` to the `System.Drawing.Imaging.ColorMatrix`. |
### toGdiColorMatrix(ColorMatrix colorMatrix) {#toGdiColorMatrix-com.aspose.imaging.ColorMatrix-}
```
public static System.Drawing.Imaging.ColorMatrix toGdiColorMatrix(ColorMatrix colorMatrix)
```


Converts the `Aspose.Imaging.ColorMatrix` to the `System.Drawing.Imaging.ColorMatrix`.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| colorMatrix | [ColorMatrix](../../com.aspose.imaging/colormatrix) | The color matrix to convert. |

**Returns:**
[ColorMatrix](../../com.aspose.ms.system.drawing.imaging/colormatrix) - The converted `System.Drawing.Imaging.ColorMatrix`.
