< prev index next >

src/java.desktop/share/native/liblcms/cmssamp.c

Print this page
*** 150,11 ***
      }
  
      // Convert black to Lab
      cmsDoTransform(xform, Black, &Lab, 1);
  
!     // Force it to be neutral, check for inconsistences
      Lab.a = Lab.b = 0;
      if (Lab.L > 50 || Lab.L < 0) Lab.L = 0;
  
      // Free the resources
      cmsDeleteTransform(xform);
--- 150,11 ---
      }
  
      // Convert black to Lab
      cmsDoTransform(xform, Black, &Lab, 1);
  
!     // Force it to be neutral, check for inconsistencies
      Lab.a = Lab.b = 0;
      if (Lab.L > 50 || Lab.L < 0) Lab.L = 0;
  
      // Free the resources
      cmsDeleteTransform(xform);
< prev index next >