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 & HelpPrograms › Resizing image and SaveFrame
Page Index Toggle Pages: 1
Resizing image and SaveFrame (Read 1082 times)
Resizing image and SaveFrame
May 24th, 2010, 9:22am
 
Heya,

I'm new enough to Processing (about 4 months or so) so apologies if this is a stupid question.
Can you resize the saved image when using saveFrame()?

The images I am saving out are PImages that basically copy live feed captured from a webcam.
Re: Resizing image and SaveFrame
Reply #1 - May 24th, 2010, 9:56am
 
Create a PImage of the wanted size, take the original image, use copy() to transfer from the latter to the former while resizing it, use save() on the new image.
Re: Resizing image and SaveFrame
Reply #2 - May 28th, 2010, 4:25am
 
Brilliant. Will give it a try.
Thanks a million!
Page Index Toggle Pages: 1