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 & HelpSyntax Questions › Capturing image from sketch which uses redraw
Page Index Toggle Pages: 1
Capturing image from sketch which uses redraw (Read 399 times)
Capturing image from sketch which uses redraw
Jun 20th, 2007, 2:43pm
 
Hi,
I am trying to capture the generated image which is created by repeated looping. I am not re-drawing the background in the Draw() function. Hence I get an image create by repeated overlay of frames.

The sketch looks fine in the preview window but when I save the image, I only get the last drawn frame.

All frames drawn before are not captured.

Is there a workaround for this?
Re: Capturing image from sketch which uses redraw
Reply #1 - Jun 20th, 2007, 2:47pm
 
Sorry, please ignore, I found the problem.

I was redrawing the background in the save image code (stupid me).
Page Index Toggle Pages: 1