ns_pngsize - Determine the width and height of a PNG image
TABLE OF CONTENTS
SYNOPSIS
DESCRIPTION
COMMANDS
EXAMPLES
SEE ALSO
KEYWORDS
|
Returns a list of two elements, the width and height of the PNG file specified by filename. An error is generated if the file does not exist or if it is not a PNG file.
% ns_pngsize screenshot.png 1024 768 |
% ns_pngsize test.html invalid PNG file: "test.html" |
ns_gifsize , ns_imgmime , ns_imgsize , ns_imgtype , ns_jpegsize