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 › Saving a sketch to jpg in realtime-is it possible
Page Index Toggle Pages: 1
Saving a sketch to jpg in realtime-is it possible? (Read 767 times)
Saving a sketch to jpg in realtime-is it possible?
Apr 22nd, 2010, 8:38am
 
HMTL 5 canvas' variant of processing allows the
user to just right-click and save a .jpg to your hard drive

Someone with .php knowledge can use processing
and save the image to web; there is even a hack on
processing.org to do it.

Is it possible to implement this in processing ?

To just right-click and save the image to your local
hard drive in real-time?
Re: Saving a sketch to jpg in realtime-is it possible?
Reply #1 - Apr 22nd, 2010, 8:56am
 
I am not sure what you mean by "real time".
But well, you can use save() or saveFrame() to save the displayed sketch to disk.
Page Index Toggle Pages: 1