org.apache.sanselan.formats.png
Class GammaCorrection

java.lang.Object
  extended by org.apache.sanselan.formats.png.GammaCorrection

public class GammaCorrection
extends java.lang.Object


Constructor Summary
GammaCorrection(double src_gamma, double dst_gamma)
           
 
Method Summary
 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 src_gamma,
                       double dst_gamma)
Method Detail

correctSample

public int correctSample(int sample)

correctARGB

public int correctARGB(int pixel)


Copyright © 2007-2009. All Rights Reserved.