file width and height

M.Miller mmiller3 at iupui.edu
Fri Jan 14 09:57:35 EST 2000


>>>>> "Sposhua" == Sposhua  <sposhua at my.pc> writes:

    > Is there a module to find gif/jpeg width and height?

Use PIL:

import Image
im = Image.open(filename)
print im.size



More information about the Python-list mailing list