[ Table Of Contents | Keyword Index ]

ns_gifsize(n) 4.99 "NaviServer Built-in Commands"

NAME

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

TABLE OF CONTENTS

    TABLE OF CONTENTS
    SYNOPSIS
    DESCRIPTION
    COMMANDS
    EXAMPLES
    SEE ALSO
    KEYWORDS

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.

COMMANDS

ns_gifsize filename

EXAMPLES

 
   % ns_gifsize screenshot.gif
   1024 768

 
   % ns_gifsize test.html
   invalid GIF file: "test.html"

SEE ALSO

nsd

KEYWORDS

ns_imgmime , ns_imgsize , ns_imgtype , ns_jpegsize , ns_pngsize