AdjustGamma

WebPImage.AdjustGamma method (1 of 2)

Apply gamma correction to the image, adjusting pixel intensities to achieve desired brightness and color balance. Incorporate this method into your image processing workflow to enhance visual quality and improve the accuracy of subsequent analysis or display tasks within your application.

public override void AdjustGamma(float gamma)
ParameterTypeDescription
gammaSingleGamma for red, green and blue channels coefficient

See Also


WebPImage.AdjustGamma method (2 of 2)

Perform gamma correction on the image using individual coefficients for the red, green, and blue channels, allowing for fine-tuned adjustments of color balance and contrast. Integrate this method into your image processing pipeline to achieve precise control over color rendering and enhance visual fidelity within your application.

public override void AdjustGamma(float gammaRed, float gammaGreen, float gammaBlue)
ParameterTypeDescription
gammaRedSingleGamma for red channel coefficient
gammaGreenSingleGamma for green channel coefficient
gammaBlueSingleGamma for blue channel coefficient

See Also