CorrectionProcessor is a imageserver/image.Processor implementation that corrects gamma for a sub Processor.


- apply gamma of 1/2.2 (darken)
- call the sub Processor
- apply gamma of 2.2 (lighten)

Internally, it uses NRGBA64 high quality Image, to avoid loss of information.

The CorrectionProcessor can be enabled/disabled with the "gamma_correction" (bool) param.

CorrectionProcessor is referenced in 1 repository