[Tutor] getImageInfo() ?

Kent Johnson kent_johnson at skillsoft.com
Tue Oct 26 21:03:46 CEST 2004


The Python Imaging Library (PIL) will read a jpeg image and tell you the size.
http://www.pythonware.com/products/pil/index.htm

Kent

At 09:04 PM 10/26/2004 +0300, Olli Rajala wrote:
>Hi!
>This is my first post to this list, so I thought to say hi. :)
>
>I'm doing my own imagegallery using python and thought if there were
>some good/easy way to find the info of the pic, I mean the
>width&height, so I could put them on the page in the <img>-tag. Pics
>are jpegs if that matters.
>
>TIA,
>--
><><
>"Quite normal guy"
>Olli Rajala
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list