public BufferedImage convertToIccProfile(final BufferedImage bi, final ICC_Profile to) {
        final ICC_ColorSpace csTo = new ICC_ColorSpace(to);
        return convertToColorSpace(bi, csTo);
    }
A selection of tools for evaluating and manipulating color spaces, color values, etc.
<p>
The Javadoc provided in the original code gave the following notation:
</p>
<p>
TODO"This class is a mess and needs to be cleaned up."
</p>
src/main/java/org/apache/commons/imaging/ColorTools.java