Hi! Thank you for your answer.
I want resize to 3 or 4 different sizes and store this values againd, on
different fields...

Should I do that on the function where I receive the post? Would it take to
much time?

And... I need to insert a logo inside the image, can it be done using
images API? If not, how to use PIL direcly from the
request.vars['imageblob'] field?



On Thu, Apr 19, 2012 at 16:21, Wikus van de Merwe <
[email protected]> wrote:

> For simple things such as thumbnails, you can use the GAE images API
> (which internally uses PIL):
> https://developers.google.com/appengine/docs/python/images/imageclass
>
> from google.appengine.api import images
>
> blob = db.marcas(id).logotipo_marca_blob
> image = images.Image(blob)
> image.resize(32, 32)
> data = image.execute_transforms()
>
>
>


-- 
--

Atenciosamente,
Alex BENFICA

--
"O que não se mede não se gerencia."

Reply via email to