User Manual

Table Of Contents
AXIS 240 Users Manual Section 5: Using the AXIS 240
59
Common Gateway Interface (CGI) parameters
The Common Gateway Interface (CGI) is a standard for interfacing
external applications with information servers, such as HTTP or Web
servers.
A CGI program within the AXIS 240 allows you to define special
snapshot features within an embedded URL request. You generate
these requests in the form of query strings appended to the URL of the
AXIS 240.
You can also use CGI parameters for simple HTTP input/output
operations on the Pan/Tilt port.
CGI Parameters for
Snapshot Requests
For snapshot requests, use this syntax:
This table lists the CGI parameters for snapshot requests:
http://<cameraname>/<imagefile>?cgi-bin/control?
<parameter>=<value>[&<parameter>=<value>...]
Parameter/Syntax Description Values
camera=<n>
Selects the source for
generating snapshots. If
omitted, the default camera is
used.
1/2/3/4/5
compression=
<value>
Adjusts the image quality and
file size.
medium/high/low
color=<value> Selects color or grayscale. normal/none
axislogo=<value>
Shows/hides the Axis
logotype.
off/on
clock=<value> Shows/hides the time stamp. off/on
rotation=<value> Rotates the image.
normal/upsidedown/90deg/
270deg
mirror=<value>
Mirrors the image
horizontally.
off/on