int ordinate = calculateOrdinate(image);
BufferedImage croppedImage = image.getSubimage(absciss - 1, ordinate - 1, (int) textWidth + 2, (int) textHeight + 2);
graphics.dispose();
ImageDataModel model = Rendering.getDataModel(croppedImage);
ResponseWriter writer = context.getResponseWriter();
int imageWidth = croppedImage.getWidth();
int imageHeight = croppedImage.getHeight();