|
Author |
Topic: acessing pixel data of quicktime files (Read 499 times) |
|
eric
|
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
|
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.
|
|
|
|
|