|
Author |
Topic: copy video onto memory (Read 457 times) |
|
reinout wallis de vries Guest
|
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
|
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
|
|
|
|
|