diff --git a/en/input/raster.txt b/en/input/raster.txt index bf2f18172f..65ee50b83f 100644 --- a/en/input/raster.txt +++ b/en/input/raster.txt @@ -468,6 +468,22 @@ are supported in MapServer 4.0 and newer. PROCESSING "EXTENT_PRIORITY=WORLD" +.. index:: + triple: LAYER; PROCESSING; GAMMA + +**GAMMA=** + This directive (MapServer 8.4+) instructs the GDAL reader to apply a + `gamma correction `__ step. + The default value is 1.0 (no gamma correction). + It is performed after classification, if any. + It does not apply to raw rendering. + + Example: + + :: + + PROCESSING "GAMMA=0.75" + .. index:: triple: LAYER; PROCESSING; LOAD_FULL_RES_IMAGE diff --git a/en/mapfile/layer.txt b/en/mapfile/layer.txt index c2db1f5500..1c9de7af29 100644 --- a/en/mapfile/layer.txt +++ b/en/mapfile/layer.txt @@ -1386,6 +1386,9 @@ PROCESSING [string] that appear between adjacent polygons. A value of 0.5 is usually good enough. + Note that starting with MapServer 8.4, a GAMMA processing option is + also available for rasters, but its default value is 1.0. + .. code-block:: mapfile PROCESSING "GAMMA=0.5"