[web2py] fit image to shape

2012-03-06 Thread mwk
I would like to have an uploaded image displayed inside a specific shape. For instance, I would like to have an uploaded image fill a circle or fill an octagon shape, or other shape. How can I accomplish that with We2py? Thanks Mark

Re: [web2py] fit image to shape

2012-03-06 Thread Carlos Costa
You will need an extra library to accomplish this, like PIL http://www.pythonware.com/products/pil/ 2012/3/6 mwk mwkant...@gmail.com: I would like to have an uploaded image displayed inside a specific shape.  For instance, I would like to have an uploaded image fill a circle or fill an octagon