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 › save () only saves the current frame
Page Index Toggle Pages: 1
save () only saves the current frame? (Read 232 times)
save () only saves the current frame?
Nov 10th, 2008, 7:08pm
 
I'd like to use the save() function to save different states of the image my app is drawing. However, it seems to only save the stuff that has been drawn on that frame and ignores all the previous drawn elements that are visible in the sketch window. Is there a way to save exactly what I'm seeing onscreen instead of just the newly drawn elements?
Re: save () only saves the current frame?
Reply #1 - Nov 11th, 2008, 9:31pm
 
saveframe() should do it?
Re: save () only saves the current frame?
Reply #2 - Nov 11th, 2008, 10:31pm
 
It was my mistake. Save() does exactly what I wanted, but i had it too early on in the draw code. Need to put it at the end.
Page Index Toggle Pages: 1