g.drawImage(image, 0, 0, width, height, 0, 0, width0, height0, null);
}
PixelGrabber pixelGrabber = new PixelGrabber(g3d.platform.imageOffscreen,
0, 0, width, height, true);
try {
pixelGrabber.grabPixels();
} catch (InterruptedException e) {
// impossible?
return;
}
int[] buffer = (int[]) pixelGrabber.getPixels();