GC gc = new GC(image);
IConfigRegistry configRegistry = natTable.getConfigRegistry();
ICellPainter cellPainter = cell.getLayer().getCellPainter(
columnPosition, rowPosition, cell, configRegistry);
if (cellPainter != null) {
cellPainter.paintCell(cell, gc, new Rectangle(0, 0,
cellBounds.width, cellBounds.height), configRegistry);
}
gc.dispose();
ImageData imageData = image.getImageData();