On Wed, Apr 16, 2008 at 11:59 AM, riq <[EMAIL PROTECTED]> wrote:
>
>
> >
> > Anyhow, there are some scripty (not cross-platform) ways to do this
> > now, of course. I'm pretty sure pyglet doesn't provide functionality
> > for doing screen dumps (as grepping tells me), so you could just
> > invoke an external screen capture program with a filename like
> > ('screen-%3.3d' % ct) after each clock tick.
>
>
> you can also call:
>
> pyglet.image.get_buffer_manager().get_color_buffer().save('screenshot.png' )
cool trick ... thanks :)
--
\\\\\/\"/\\\\\\\\\\\
\\\\/ // //\/\\\\\\\
\\\/ \\// /\ \/\\\\
\\/ /\/ / /\/ /\ \\\
\/ / /\/ /\ /\\\ \\
/ /\\\ /\\\ \\\\\/\
\/\\\\\/\\\\\/\\\\\\
d.p.s
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---