On 4/17/08, akhen <[EMAIL PROTECTED]> wrote: > > Thanks all for your answers > > It could do the trick, the only problem is that it needs a real screen > to work on (I need to implement something on servers without video > output and don't want to run bunch of X11 screens). >
You need only one X11 screen and one X11 server (as pyglet can open any number of windows). Naturally there does not need to be a physical screen attached, but pyglet definitely requires video hardware (which a rack-mounted server might not provide). > Anyway, the image.get_buffer_manager().get_color_buffer().save(f) is > not too cpu consuming ? The save() method uses a pure Python PNG implementation. If you find this is a problem you can copy the image data into a PIL image and save it with PIL (which has a native code implementation for various file formats). Alex. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
