Image Libraries

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • PB

    Image Libraries

    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?

  • Ken

    #2
    Re: Image Libraries

    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


    Comment

    • PB

      #3
      Re: Image Libraries

      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

      Comment

      Working...