[EMAIL PROTECTED] wrote:

> I got a piece of python script to upload file and it can upload it to
> different folders on server depend on the type of file is image or not.
> but I also want to restrict the size and dimensions of file if it is a
> image file.Could anyone help me out?


Use PIL, the python imaging library. Load your image, check its sizes and
proceed accordingly.

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to