Here you can find the source of makeBufferedImage(final Image image)
public static BufferedImage makeBufferedImage(final Image image)
//package com.java2s; /** Copyright by Barry G. Becker, 2000-2011. Licensed under MIT License: http://www.opensource.org/licenses/MIT */ import java.awt.Graphics2D; import java.awt.Image; import java.awt.image.BufferedImage; public class Main { /**/*w ww . ja va 2s. c om*/ * @return a BufferedImage from an Image */ public static BufferedImage makeBufferedImage(final Image image) { BufferedImage bImg = new BufferedImage(image.getWidth(null), image.getHeight(null), BufferedImage.TYPE_INT_ARGB); Graphics2D g2 = bImg.createGraphics(); g2.drawImage(image, null, null); g2.dispose(); return bImg; } }