// takes
// far less memory
// if(opaque) {
image = new VirtualImage(width, height);
VirtualGraphics g = image.getGraphics();
g.drawRGB(destinationArray, 0, width, 0, 0, width, height, false);
/*
* } else { image = VirtualImage.createRGBImage(destinationArray, width,
* height, true); }
*/
}// resize image