We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › convert a PImage/PGraphics into a BufferedImage
Pages: 1 2 
convert a PImage/PGraphics into a BufferedImage? (Read 4345 times)
Re: convert a PImage/PGraphics into a BufferedImag
Reply #15 - Dec 9th, 2008, 8:57am
 
Thanks a lot Manic, that was exactely what I was looking for!
Re: convert a PImage/PGraphics into a BufferedImag
Reply #16 - Dec 10th, 2008, 6:59pm
 
Actually, as of R149, they made it much easier, check out the revisions doc;

http://processing.org/download/revisions.txt

Quote:
+ Added getImage() method to PImage, which returns it as a java.awt.Image.
 (Actually it's a BufferedImage, but who's keeping track?)


So, my old code is nothing more than a curiosity now thanks to Fry and Reas' efforts.

Martin
Pages: 1 2