The resulting color values are scaled to the precision of the destination image. If the source is a BufferedImage with premultiplied alpha, the color components are divided by the alpha component before color conversion. If the destination is a BufferedImage with premultiplied alpha, the color components are multiplied by the alpha component after conversion.
Rasters are treated as having no alpha channel, i.e. all bands are color bands.
If a RenderingHints object is specified in the constructor, the color rendering hint and the dithering hint may be used to control color conversion. Note that Source and Destination may be the same object. Constructs a new ColorConvertOp from two ColorSpace objects. Constructs a new ColorConvertOp from a ColorSpace object. Constructs a new ColorConvertOp which will convert from a source color space to a destination color space.