Project: QGIS

Version: 3.16

Feature: Gamma correction filter for raster layers

Add gamma correction filter pipe for raster layers in addition to the existing brightness, contrast, hue, and saturation filters. Users can adjust the gamma value from the layer properties dialog, using styling panel and/or new buttons on the Raster toolbar. Default gamma value is 1.0 and it can be adjusted within the range 0.1 to 10.

Addresses Issue 13512

Also adds a rendering test for brightness and contrast filter which has no test at all and fixes some deprecation warnings in the Python test for QgsRasterLayer.

This feature was developed by Alexander Bruy