Ns gifsize

From AOLserver Wiki
Revision as of 11:22, 10 June 2004 by WikiSysop (talk | contribs) (imported from WiKit id 570)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Man page: http://aolserver.com/docs/tcl/ns_gifsize.html


NAME

ns_gifsize - Determine the width and height of a GIF87 or GIF89 image

SYNOPSIS

ns_gifsize filename

DESCRIPTION

Returns a list of two elements, the width and height of the GIF file specified by filename. An error is generated if the file does not exist or if it is not a GIF file.

EXAMPLES

   % ns_gifsize screenshot.gif
   1024 768
   % ns_gifsize test.html
   invalid gif file: test.html

SEE ALSO

ns_jpegsize, the nsimage module

Category Documentation - Category Core Tcl API