---
title: "adjust_gamma method"
url: "https://reference.aspose.com/cad/python-net/aspose.cad/rastercachedimage/adjust_gamma/"
product: "Aspose.CAD for Python via .NET API References"
---


## adjust_gamma {#float}

Gamma-correction of an image.



```python
def adjust_gamma(self, gamma):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| gamma | float | Gamma for red, green and blue channels coefficient |


## adjust_gamma {#float-float-float}

Gamma-correction of an image.



```python
def adjust_gamma(self, gamma_red, gamma_green, gamma_blue):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| gamma_red | float | Gamma for red channel coefficient |
| gamma_green | float | Gamma for green channel coefficient |
| gamma_blue | float | Gamma for blue channel coefficient |



### See Also
* module [`aspose.cad`](../../)
* class [`RasterCachedImage`](/cad/python-net/aspose.cad/rastercachedimage)
