Lines Matching defs:destCM
256 * of bands. If destCM is null, an appropriate ColorModel will be used.
258 * @param destCM ColorModel of the destination. Can be null.
263 ColorModel destCM) {
271 if (destCM == null) {
272 destCM = src.getColorModel();
274 if (destCM instanceof IndexColorModel) {
275 destCM = ColorModel.getRGBdefault();
291 wr = destCM.createCompatibleWritableRaster(w, h);
294 image = new BufferedImage (destCM, wr,
295 destCM.isAlphaPremultiplied(), null);