superpollo ha scritto:
alex23 ha scritto:
On Apr 16, 7:34 pm, superpollo <superpo...@tznvy.pbz> wrote:
is there a way to convert the graphical output of a pygame application
to a mpeg file or better an animated gif? i mean, not using an external
capture program...

There is, but it's probably not going to be as performant as using
something external:

http://stackoverflow.com/questions/6087484/how-to-capture-pygame-screen

but where in the code should i put the line:

pygame.image.save(window, "screenshot.jpeg")

i mean, if i would want to capture ALL the frames in a video file...

i ask this becase this line captures just one frame and overwrites over the successive ones...

bye
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to