encode\(Thank you for all the replies.
Why am I not using PIL? Because PIL is slow, poorly written (imho), and 
very limited. I was trying something else, experimenting with opengl.

On Saturday, 28 June 2014 10:38:19 UTC+2, Juan J. Martínez wrote:
>
> On 28/06/14 09:35, [email protected] <javascript:> wrote: 
> > On Fri, Jun 27, 2014 at 03:51:26PM -0700, Gendo Ikari wrote: 
> >> 2) How can I draw on a specific image/texture? (blit is not enough, not 
> all 
> >> pyglet objects have a blit_into method). 
> > 
> > All Textures implement blit_into, and I think most objects implement 
> get_texture(), 
> > so that's probably your best route.  IIRC you can only blit ImageData 
> objects 
> > onto Textures; blitting a Texture into another Texture is not 
> implemented. 
> > Also there's currently no way to blit a scaled/rotated image in pure 
> Pyglet. 
> > 
> > This area of the Pyglet API needs some work.  :-P  If you want it to be 
> fast 
> > and don't want to write your own software blitter, you're probably going 
> to 
> > need to dip into raw OpenGL.  SDL2 may also be an option.  I believe 
> Pygame 
> > can also scale, rotate and compose images in software. 
> > 
> >> 3) How can I save image with specific DPI? 
> > 
> > Again, currently, you probably can't. 
> > 
>
> Also, why not using PIL or any other imaging library? 
>
> Regards, 
>
> Juan 
>
> -- 
> jjm's home: http://www.usebox.net/jjm/ 
> blackshell: http://blackshell.usebox.net/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to