Using App Engine to resize and manipulate images (newbie)

77 views
Skip to first unread message

Jonathan

unread,
Feb 26, 2009, 11:34:04 PM2/26/09
to Google App Engine
Hi,

I'm new to both the App Engine and Python, so I may sound kind of
slow.

First, I'd like to use App Engine as an image store similar to S3. My
website (running on a dedicated server) will let users upload images
to the App Engine via a Flash control. After each image is uploaded,
JS will post a request to an App Engine page to resize the image and
otherwise manipulate the image.

I assume all of this should be fairly straightforward to do with App
Engine, is that right?

Seeing that I can run the Python Image Library on AE, why would I want
to call the AE Image API functions? Doesn't PIL support may more
functions that I can also invoke from my web page? For example, will
probably need to change the bit depth of each image to reduce the file
size. Anyway, isn't the Image API redundant if you install PIL?

Thanks

Barry Hunter

unread,
Feb 27, 2009, 12:26:00 PM2/27/09
to google-a...@googlegroups.com
I think you are mistaken, PIL is not supported on AppEngine.

Its slightly confusing that the local SDK requires PIL - but it just
uses it to implement the Images API. The production area doesnt have
PIL at all.

So you only have the functions that the Images makes available (or
that you can implment in Pure Python)

Maybe you can use the Flash client to do the image transformations
before sending to AppEngine.
--
Barry

- www.nearby.org.uk - www.geograph.org.uk -
Reply all
Reply to author
Forward
0 new messages