pygame: output to file?
superpollo
superpollo at tznvy.pbz
Mon Apr 16 08:37:17 EDT 2012
alex23 ha scritto:
> On Apr 16, 7:34 pm, superpollo <superpo... at 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")
?
tia
bye
More information about the Python-list
mailing list