On Jan 16, 12:38 am, Justin Ezequiel <[EMAIL PROTECTED]>
wrote:
> On Jan 16, 1:19 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > On Jan 16, 12:16 am, [EMAIL PROTECTED] wrote:
>
> > > Im using mod_python and apache2 using psp for output of page, i open a
> > > file and resize it with the following code
>
>
On Jan 16, 12:16 am, [EMAIL PROTECTED] wrote:
> Hi, noob here
>
> Im using mod_python and apache2 using psp for output of page, i open a
> file and resize it with the following code
>
> <%
> import Image, util
>
> fields = util.FieldStorage(req)
> filename = fields.getlist('src')[0]
>
> path = '/va
Hi, noob here
Im using mod_python and apache2 using psp for output of page, i open a
file and resize it with the following code
<%
import Image, util
fields = util.FieldStorage(req)
filename = fields.getlist('src')[0]
path = '/var/www/content/' + filename
size = 128, 128
im = Image.open(path)