Previous Next blank.gif Home Page

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 Home Page
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Thu May 28 1998