code: protected Graphics2D getGraphics(BufferedImage image) {
  		Graphics2D graphics = image.createGraphics();
  		graphics.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
  				RenderingHints.VALUE_ANTIALIAS_ON);
  		return graphics;
  	}
docs: Get a graphics for the image
  
  @param image
  buffered image
  @return graphics