Java 8 ICC_ProfileRGB - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 ICC_ProfileRGB class.

This code example shows how to use the following methods:getGamma, getMatrix, getTRC
   * Constructs an RgbProfileConverter from a given ICC_ProfileRGB 
   */ 
  public RgbProfileConverter(ICC_ProfileRGB profile)
  { 
    toPCS = fromPCS = null;
    matrix = profile.getMatrix();
 
    // get TRCs 
    try 
      { 
        rTRC = new ToneReproductionCurve(profile.getGamma(ICC_ProfileRGB.REDCOMPONENT));
      } 
    catch (ProfileDataException e)
      { 
        rTRC = new ToneReproductionCurve(profile.getTRC(ICC_ProfileRGB.REDCOMPONENT));
      } 
    try 
      { 
        gTRC = new ToneReproductionCurve(profile.getGamma(ICC_ProfileRGB.GREENCOMPONENT));
      } 

4
CodeRank
Experience pair programming with AI  Get Codota for Java
See Code Examples for Java 8 ICC_ProfileRGB Methods: