[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

Image Libraries

PeterBraden1@googlemail.com

3/8/2008 7:29:00 PM

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?

2 Answers

Ken Seehart

3/9/2008 1:30:00 AM

0

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


PeterBraden1@googlemail.com

3/9/2008 1:37:00 AM

0

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