Previous Next blank.gif Home Page

Function getgifsize


SYNOPSIS

import HTMLgen
def getgifsize(path, data=None)

DESCRIPTION

getgifsize reads the first ten bytes of the file specified by path, checks whether it's a GIF file, returns the width and height of the GIF file if it is one, else TypeError is raised.

SEE ALSO

HTMLgen


Previous Next blank.gif Home Page
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedric@phoenix.net
Generated: Mon Dec 2 1996