[google-appengine] AppEngine Images API Resize on width only and maintain aspect ratio

2011-01-13 Thread Albert
A user can upload a picture to blobstore, which I would like to resize to have a maximum of only 500px in width. I don't want to specify the height since I want it to maintain the aspect ratio. The resize() function of the images api seems to require the height as well. Is this true? How do I

Re: [google-appengine] AppEngine Images API Resize on width only and maintain aspect ratio

2011-01-13 Thread Barry Hunter
From: http://code.google.com/appengine/docs/python/images/imageclass.html http://code.google.com/appengine/docs/python/images/imageclass.html resize (width=0, height=0) Resizes an image, scaling down or up to the given width and height. *The resize transform preserves the aspect ratio of the