File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -468,6 +468,22 @@ are supported in MapServer 4.0 and newer.
468468
469469 PROCESSING "EXTENT_PRIORITY=WORLD"
470470
471+ .. index::
472+ triple: LAYER; PROCESSING; GAMMA
473+
474+ **GAMMA=<numeric_value>**
475+ This directive (MapServer 8.4+) instructs the GDAL reader to apply a
476+ `gamma correction <https://en.wikipedia.org/wiki/Gamma_correction>`__ step.
477+ The default value is 1.0 (no gamma correction).
478+ It is performed after classification, if any.
479+ It does not apply to raw rendering.
480+
481+ Example:
482+
483+ ::
484+
485+ PROCESSING "GAMMA=0.75"
486+
471487.. index::
472488 triple: LAYER; PROCESSING; LOAD_FULL_RES_IMAGE
473489
Original file line number Diff line number Diff line change @@ -1386,6 +1386,9 @@ PROCESSING [string]
13861386 that appear between adjacent polygons. A value of 0.5 is usually good
13871387 enough.
13881388
1389+ Note that starting with MapServer 8.4, a GAMMA processing option is
1390+ also available for rasters, but its default value is 1.0.
1391+
13891392 .. code-block:: mapfile
13901393
13911394 PROCESSING "GAMMA=0.5"
You can’t perform that action at this time.
0 commit comments