works well, but I get some issues with opacity.
It seems that it does not handle correctly the alpha channel.

any idea ?

On Mar 3, 2:16 pm, Al <[email protected]> wrote:
>     mgr = pyglet.image.get_buffer_manager()
>     mgr.get_color_buffer().save(filename)
>
> Thanks that worked a treat :)
>
> On Mar 2, 9:27 pm, Casey Duncan <[email protected]> wrote:
>
> > I posted some code on my blog to do this:
>
> >http://eatthedots.blogspot.com/2008/08/cloudy-with-chance-of.html
>
> > hth,
>
> > -Casey
>
> > On Tue, Mar 2, 2010 at 7:34 AM, Al <[email protected]> wrote:
> > > Hi,
>
> > > I've been experimenting with pyglet for a couple of weeks now and am
> > > well on my way to creating my first game (yet another breakout clone).
>
> > > What I want to know is there an easy way to save the graphical
> > > contents of a pyglet window to a PNG file on the harddisk?
>
> > > TIA
> > > Alastair
>
> > > --
> > > 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 
> > > athttp://groups.google.com/group/pyglet-users?hl=en.

-- 
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.

Reply via email to