Converting a Buffered Image to an Image

// This method returns an Image object from a buffered image public static Image toImage(BufferedImage bufferedImage) { return Toolkit.getDefaultToolkit().createImage(bufferedImage.getSource()); }

Comments

14 Feb 2010 - 10:56pm by Anonymous (not verified)

I found what i needed from here..

27 Feb 2010 - 9:14am by Andy (not verified)

Thanks for the great help!

2 Jun 2010 - 3:40am by Jussi (not verified)

Thanks for the examples! This is exactly what I (and other beginning programmers) need: simple, clear and well explained code examples.

Post a comment

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image. Ignore spaces and be careful about upper and lower case.