On Fri, May 23, 2008 at 3:22 PM, wolf <[EMAIL PROTECTED]> wrote: > > ok i just want to reize an image. > > i have used pyglet before to write http://code.google.com/p/suimm and > i quite liked it. image handling capabilities were superior, and sound > was not so difficult either. > > so can pyglet just do that? >
can pyglet resize an image? well pyglet provides facilities to use openGL to tell the hardware to resample an image when drawing it to the screen as a texture, yes. Is image processing and manipulation in software a part of it's feature-set, ala pyCairo or PIL? definitely not. If you are trying to resize and save, you go through extra hoops to do it through openGL hardware vs. software based systems, but it can definitely be done with pyglet. (basically you'd upload as a texture, render to a texture, save out the texture, then save the image, and saving may be hard). But doing the same thing through pygame is pretty easy and straightforward, cause it's been made a core part of it's feature-set to load, resize and save. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to pyglet-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---