ns_jpegsize

Name

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

Syntax

ns_jpegsize file

Description

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