Ns jpegsize

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

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


NAME

ns_jpegsize - Determine the width and height of a JPEG image.

SYNOPSIS

ns_jpegsize filename

DESCRIPTION

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

EXAMPLES

   % ns_jpegsize screenshot.jpg
   1024 768
   % ns_jpegsize test.html
   invalid jpeg file: test.html

SEE ALSO

ns_gifsize, the nsimage module


Category Documentation - Category Core Tcl API