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.
Page Index Toggle Pages: 1
resize video size (Read 1167 times)
resize video size
Jul 10th, 2008, 12:21pm
 
how can i resize video source from camera on windows!~~~~
help~~`~
Re: resize video size
Reply #1 - Jul 10th, 2008, 12:45pm
 
assuming myCapture is the frame you get from the camera, try :

Code:
image(myCapture, 0, 0, w, h); 


where w and h are the width and height you want for the display. for example :

Code:
image(myCapture, 0, 0, myCapture.width/2, myCapture.height/2); 


see image() method reference :
http://processing.org/reference/image_.html
Re: resize video size
Reply #2 - Jul 15th, 2008, 10:25am
 
Try to use VidCrop PRO...
http://geovid.com/download/vidcroppro.exe
Re: resize video size
Reply #3 - Oct 28th, 2009, 3:28am
 
agree, VidCrop PRO good prog
Page Index Toggle Pages: 1