Class: ImageServiceParametersE-mail This Topic Printable Version Give Us Feedback

Description

Represents the image service parameter options used when calling ArcGISImageServiceLayer.exportMapImage. (As of v1.2)

Class hierarchy

esri.layers.ImageServiceParameters

Constructor

Constructor Description
esri.layers.ImageServiceParameters() Creates a new ImageServiceParameters object. The constructor takes no parameters.

Properties

Property Type Description
bandIds Number[] Array of current band selections.
compressionQuality Number Current compression quality value. The compression quality controls how much loss the image will be subjected to. Only valid with JPG image types.
extent Extent Extent of the exported image.
format String Map image format.
height Number Requested image height in pixels.
interpolation String Current interpolation method. The interpolation method affects how the raster dataset is transformed when it undergoes warping or when it changes coordinate space.
width Number Requested image width in pixels.

Constants

Constant Description
INTERPOLATION_BILINEAR Resamples pixel by bilinear interpolation.
INTERPOLATION_CUBICCONVOLUTION Resamples pixel by cubic convolution.
INTERPOLATION_MAJORITY Resamples pixel by majority value.
INTERPOLATION_NEARESTNEIGHBOR Resamples pixel by nearest neighbor.
Constructor Detail

esri.layers.ImageServiceParameters()

Creates a new ImageServiceParameters object. The constructor takes no parameters.
Properties Detail

<Number[]> bandIds

Array of current band selections.

<Number> compressionQuality

Current compression quality value. The compression quality controls how much loss the image will be subjected to. Only valid with JPG image types.

<Extent> extent

Extent of the exported image.

<String> format

Map image format.
Known values: png8 | png24 | jpg | bmp | gif
Default value: png8

<Number> height

Requested image height in pixels.

<String> interpolation

Current interpolation method. The interpolation method affects how the raster dataset is transformed when it undergoes warping or when it changes coordinate space.

<Number> width

Requested image width in pixels.