How to adjust an image
Contents
[
Hide
]
How to adjust an image
Adjusting an image's brightness can be done by adjust_brightness method, so you can set a brightness parameter between -255 and 255 to perform corrections. The same adjustments you can do with adjust_contrast method to make contrast corrections with parameter settings to a range from -100 and 100. If the image has a color hue, you can make gamma corrections by setting the R, G and B components coefficient or a general gamma coefficient with adjust_gamma method:
You can find more examples for adjusting images in the Aspose Developer Guide.