Java Example Program/ Sample Source Code
import java.awt.AWTException;
import java.awt.HeadlessException;
import java.awt.color.ICC_Profile;
import java.awt.color.ICC_ProfileRGB;
import java.io.IOException;
public class GetGamma_ICC_ProfileRGB {
public static void main(String[] a) throws IOException, HeadlessException, AWTException {
ICC_ProfileRGB profileRGB = (ICC_ProfileRGB) ICC_Profile.getInstance("CMYK.pf");
profileRGB.getGamma(0);
profileRGB.getMatrix();
profileRGB.getMediaWhitePoint();
profileRGB.getTRC(0);
}
} |
|
|