Saturday, February 20, 2010

Programmer - Replacing Functionality of PIL (ImageDraw) in Google App Engine (GAE)

Programmer Question

So, Google App Engine doesn't look like it's going to include the Python Imaging Library anytime soon. There is an images api, but it's paltry, and inadequate for what I need.



I'm wondering what Python only (no C-extensions) there are that can replace the Image.paste and the ImageDraw modules. I don't want to write them myself, but that is an option. I'm also open to other solutions, such as "do the processing somewhere else, then call via api", if they're not too ugly. (For the record, the solution I just suggested seems pretty ugly to me.)



How have others gotten around this?



(I'm not wedded to GAE, just exploring, and this looks like a deal breaker for my app.)



Notes:



For me, crop, resize is not enough. In particular I need




  1. paste (replace part of an image with another.... can be faked with "compose")

  2. draw (for drawing gridlines, etc. Can be faked as well)

  3. text (write text on an image, much harder to fake, unless someone wants to correct me)

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails