SHARE
TWEET

How to set icc color profile in Java and change colorspace

a guest Feb 27th, 2012 28 Never
  1. ICC_Profile ip = ICC_Profile.getInstance( ColorSpace.CS_sRGB );
  2. ICC_ColorSpace ics = new ICC_ColorSpace( ip );
  3. ColorConvertOp cco = new ColorConvertOp( ics, null );
  4. BufferedImage result = cco.filter( sourceImage, null );
RAW Paste Data
Top