Java Example Program / Sample Source Code
import java.awt.color.ICC_ColorSpace;
import java.awt.color.ICC_Profile;
import java.io.IOException;
public class ICC_ColorSpaceExample {
public static void main(String[] a) throws IOException {
ICC_Profile cmyk_profile = ICC_Profile.getInstance("CMYK.pf");
ICC_Profile profile = new ICC_ColorSpace(cmyk_profile).getProfile();
System.out.println("profile "+profile);
}
} |
|
|