org.apache.commons.imaging.formats.png

## Class GammaCorrection

- java.lang.Object
- - org.apache.commons.imaging.formats.png.GammaCorrection

-     public class GammaCorrection
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GammaCorrection(double srcGamma, double dstGamma)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `correctARGB(int pixel)`
    `int` | `correctSample(int sample)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GammaCorrection

          public GammaCorrection(double srcGamma,
                                 double dstGamma)

  - ### Method Detail

    - #### correctSample

          public int correctSample(int sample)

    - #### correctARGB

          public int correctARGB(int pixel)

Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.