import HTMLgen
def getgifsize(path, data=None)
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.
Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Sat Mar 7 1998