Image Libraries

PB PeterBraden1 at googlemail.com
Sat Mar 8 20:37:25 EST 2008


Maybe I am unaware of the right way to do it, but the only way I can
think to draw several shapes of different transparencies is to create
an image for each layer and then combine them which seems overly
complex. It would be nice to simply be able to specify colors with an
alpha value combined (ie RGBA) for image draw operations.

Is there a way to do this?

Cheers,

Peter

Ken wrote:
> PB wrote:
> > I have been using PIL for generating images, however it does not
> > easily support operations with transparency etc.
> >
> > I tried to install aggdraw but it wouldn't compile.
> >
> > Ideally I'd like something open source so I can adapt it, hopefully
> > mostly written in python rather than C.
> >
> > Is there any other decent image libraries for python?
> >
> >
> I use PIL, and I haven't had any difficulty with alpha channel
> transparency. But maybe I'm using it for different things than you
> (blitting PGN(RGBA) antialiased images mostly). What problems are you
> having specifically?
>
> Ken Seehart



More information about the Python-list mailing list