On Fri, Oct 10, 2008 at 9:03 AM, infinite8s <[EMAIL PROTECTED]> wrote: > > > That won't work. Screen capture will return a bitmap image (plus, OS X > has it's own OpenGL context which completely bypasses the Quartz > drawing framework, so even if screen capture could capture the drawing > commands, it still wouldn't be in PDF format). >
Yeah details, details ... but I still would second the Python Nutter's (wow, what a name) basic argument - there are easier ways to do this, don't try to make your life too hard ;) One approach to consider is just outputing the color buffer to a format supported natively by pyglet such as png, and use external tools such png2eps, epstool, etc to get it where you want. Also, ImageMagick (http://www.imagemagick.org/script/formats.php) has a dizzying array of supported formats, including eps, ps, pdf ... Another thing you might want to experiment with is PIL's pdf output support (http://www.pythonware.com/library/pil/handbook/format-pdf.htm) in combination with a library such as ReportLab (http://www.reportlab.org/). This is likely a more cross-platform solution. Surgeon General's Warning: I have nil experience with this specific problem, so ignore everything I've said. Drew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
