Good afternoon!
I experiment with GAE, I try any pieces. Has faced a problem at
To processing of pictures. On output of a picture from Blob'a I have a
following
Code (clearly that ресайзить is necessary at saving, here for the
test...):

from google.appengine.api import images

def image (request, page_id):
    page = get_object_or_404 (Page, pk=page_id)
    image = images. Image (page.file)
    image.resize (width=80, height=100)
    image.im_feeling_lucky ()
    thumbnail = image.execute_transforms (output_encoding=images.
JPEG)
    response = HttpResponse (thumbnail)
    response [' Content-Type '] = ' image/jpeg'
    return response

I.e. each time becomes a small picture with the improved colours. The
size of an initial picture: 500 kb.
Then I call this code through a browser (the link the worker):

http://moskrc.appspot.com/cms/image/47001

The picture is shown, but if three times (or it is more) to press fast
F5
- Arises Exception - The API call images. Transform () required more
quota than is available. WTF??? I can make conversion not to a bowl
1 time a second?

I will insert resize after upload'a pictures, but if at once 2 persons
Will press Save.... For whom that will be a surprise? I understand
nothing. Explain
Please if who knows. Thanks.

P.S. Quota details: http://www.imageno.com/imbkvorckwatpic.html

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
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.

Reply via email to