English

How To: Change the resolution of output JPEG images from Spatial Server

Summary

JPEG images produced by the Spatial Server have a default resolution of 85%. You can change this value as shown here.

Procedure

Open the aimsms.cfg file in a text editor, such as WordPad. This file is located in the etc directory wherever your Spatial Server is installed.


<servercomponent
type = "ImageServer"
description = "This is an ImageServer"
exe = "MapServer\aimsms.dll"
access = "PUBLIC"
>
<parameters>
<parameter name="jpegquality" value="85" />
<parameter name="giflicense" value="GIF keycode" />
</parameters>
</servercomponent>

In the aimsms.cfg file, change the value for "jpegquality" to a desired output resolution between 1% and 100%. In the above example, the value is set to 85%.

Save the file and restart all the ArcIMS services.

Summary:

There is a specific sequence to follow when stopping and restarting the ArcIMS services (Windows) or processes (UNIX).

Procedure:


Stop them in the following order:
A) ArcIMS Tasker
B) ArcIMS Monitor
C) ArcIMS Application Server

Start them in the opposite order you stopped them:
A) ArcIMS Application Server
B) ArcIMS Monitor
C) ArcIMS Tasker

For further information about the stop and start of ArcIMS services on Windows or Linux operating systems, see the articles listed in Related Information below.