FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Topics & Contributions
   Video, Camera
(Moderator: REAS)
   copy video onto memory
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: copy video onto memory  (Read 457 times)
reinout wallis de vries
Guest
Email
copy video onto memory
« on: Jun 14th, 2004, 3:10pm »

right now i use the follwing line to put a live videoimage on the canvas.
     
image(video, 10, 10);
 
from here i copy it to a canvas-memory where i do my thing.
i would like to copy it directly to this canvas-memory. is there a way to copy live-video to a memory?
 
greetz,
nout
 
REAS


WWW
Re: copy video onto memory
« Reply #1 on: Jun 15th, 2004, 9:04am »

I'm not sure exactly what you mean, but you can always just copy the pixel array of the "video" into another array. access the video array as "video.pixels". the "video" variable is just a BImage. more documentation can be found here:
http://processing.org/reference/BImage.html
 
Pages: 1 

« Previous topic | Next topic »