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)
   acessing pixel data of quicktime files
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: acessing pixel data of quicktime files  (Read 499 times)
eric

Email
acessing pixel data of quicktime files
« on: Nov 7th, 2004, 10:52pm »

how might i go about getting a BImage out of a BVideo file? or maybe there is some other way to get at the pixel data of a given frame? thanks
 
eric
 
TomC

WWW
Re: acessing pixel data of quicktime files
« Reply #1 on: Nov 7th, 2004, 11:18pm »

The BVideo object has a pixels array, width, height, etc, just like BImage.
 
http://processing.org/reference/libraries/video/BVideo.html
 
If you need to keep hold of a particular frame, you can do:
 
Code:

 
BImage myCopy = video.copy();
 

 
Hope that helps.
 
Pages: 1 

« Previous topic | Next topic »