Previous Next blank.gif blank.gif

Function imgsize


SYNOPSIS

import HTMLgen
def imgsize(path)

DESCRIPTION

Returns the (width, height) in pixels of the given image file. Understands GIF, JPEG, and PNG formats.

SEE ALSO

HTMLgen


Previous Next blank.gif blank.gif
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Tue Apr 20, 1999