Probelem about image size and dimensions
Diez B. Roggisch
deets at nospam.web.de
Thu Mar 23 11:26:24 CET 2006
gongcheng_g at hotmail.com 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
More information about the Python-list