DataBufferByte buffer = (DataBufferByte)raster.getDataBuffer();
byte[] bufferData = buffer.getData();
//System.arraycopy( array, 0, bufferData, 0, array.length );
int predictor = getPredictor();
PredictorAlgorithm filter = PredictorAlgorithm.getFilter(predictor);
filter.setWidth(width);
filter.setHeight(height);
filter.setBpp((bpc * 3) / 8);
filter.decode(array, bufferData);
image = new BufferedImage(cm, raster, false, null);
return image;
}