I want to filter images using GAE,firstly i stored the image in the
blobstore as it's without changes, then i got the url for that image to
open it then filter using PIL,the original image is stored correctly in the
blobstore but i can't open it using the url how can i open it to filter? i
tried as:
url = images.get_serving_url(blob_key)
imageFile = url
im = Image.open(imageFile)
but this makes error.?
On Tuesday, April 17, 2012 5:11:44 PM UTC+3, Computer_Engineer wrote:
>
> I'm working on python google app engine application,i'm using python2.5, i
> want to deal with images on GAE(filter images), initially i tried wit PIL
> library and i installed it successfully and i tested it and it works
> correctly on my computer,but when i test it on localhost(run on GAE), i
> have an error thatNotImplementedError: Unable to find the Python PIL
> library,then i tried to deal with images using Images Python API , as in
> this tutorial:
> https://developers.google.com/appengine/docs/python/images/overview, and
> i tested resizing images service,and it works correctly,but the main
> application that i want is to filter the images,the question is :if this
> service(image filtering) supported in Images Python API in GAE?and if not
> how can i filter images on GAE?i saw that this service available in PIL,but
> this library is not supported by GAE
> I tried as a second choice to use python2.7 such that it supports PIL
> library and i edited the app.yaml configuration file,but i don't know how
> to use this library in the python page(main.py)?
> app.yaml:
> application: app_id
> version: 1
> runtime: python27
> api_version: 1
> threadsafe: false
> handlers:
> - url: /.*
> script: main.py
> libraries:
> - name: PIL
> version: "1.1.7"
>
> ...any suggestions are welcome...Thanks
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/sEauTynQ4_sJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.