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


## adjust_contrast {#float}

Image contrasting



```python
def adjust_contrast(self, contrast):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| contrast | float | Contrast value (in range [-100; 100]) |



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