Re: Python Video processing.

2006-06-13 Thread Ant
> im = Image.fromstring("RGB", dd.size, dd.data) > > instead of doing that pygame.image call (not that the argument order is > different). > > for details, see the pygame tostring/fromstring docs, and the corresponding > PIL > methods: That's starting to look promising, yes - thanks! I'll gi

Re: Python Video processing.

2006-06-13 Thread Fredrik Lundh
"Ant" <[EMAIL PROTECTED]> wrote: > In particular, does anyone know whether the data obtained from decoding > the video frame as in the following snippet from > http://pymedia.org/tut/src/dump_video.py.html: > > dd= d.convert( fmt ) > img= pygame.image.fromstring( dd.data, dd.size