File tree 2 files changed +19
-0
lines changed
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.
468
468
469
469
PROCESSING "EXTENT_PRIORITY=WORLD"
470
470
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
+
471
487
.. index::
472
488
triple: LAYER; PROCESSING; LOAD_FULL_RES_IMAGE
473
489
Original file line number Diff line number Diff line change @@ -1386,6 +1386,9 @@ PROCESSING [string]
1386
1386
that appear between adjacent polygons. A value of 0.5 is usually good
1387
1387
enough.
1388
1388
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
+
1389
1392
.. code-block:: mapfile
1390
1393
1391
1394
PROCESSING "GAMMA=0.5"
You can’t perform that action at this time.
0 commit comments