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_ProfileGray;
import java.io.IOException;
public class GetGamma_ICC_ProfileGray {
public static void main(String[] a) throws IOException, HeadlessException, AWTException {
ICC_ProfileGray profileGray = (ICC_ProfileGray) ICC_Profile.getInstance("CMYK.pf");
profileGray.getGamma();
profileGray.getMediaWhitePoint();
profileGray.getTRC();
}
} |
|
|