## ClearGamma() {#cleargamma}

Disables gamma correction for the default category.

```csharp
public void ClearGamma()
```

### See Also

* class [ImageAttributes](../)
* namespace [System.Drawing.Imaging](../../imageattributes/)
* assembly [Aspose.Drawing](../../../)

---

## ClearGamma(ColorAdjustType) {#cleargamma_1}

Disables gamma correction for a specified category.

```csharp
public void ClearGamma(ColorAdjustType type)
```

| Parameter | Type | Description |
| --- | --- | --- |
| type | ColorAdjustType | An element of ColorAdjustType that specifies the category for which gamma correction is disabled. |

### See Also

* enum [ColorAdjustType](../../coloradjusttype/)
* class [ImageAttributes](../)
* namespace [System.Drawing.Imaging](../../imageattributes/)
* assembly [Aspose.Drawing](../../../)


