Packagecom.esri.ags.layers
Classpublic class ImageServiceParameters

Represents the image parameter options used when calling ArcGISImageServiceLayer.exportMapImage.

See also

ArcGISImageServiceLayer.exportMapImage()


Public Properties
 PropertyDefined by
  bandIds : Array
If there are multiple bands, you can either specify a single band to export, or you can change the band combination (red, green, blue) by specifying the band number, for example, [2, 1, 3].
ImageServiceParameters
  compressionQuality : Number
Controls how much loss the image will be subjected to by the compression algorithm.
ImageServiceParameters
  extent : Extent
Extent of image to be exported.
ImageServiceParameters
  format : String
Image format.
ImageServiceParameters
  height : Number
Requested image height in pixels.
ImageServiceParameters
  imageSpatialReference : SpatialReference
Spatial reference of exported map.
ImageServiceParameters
  interpolation : String
The resampling process of extrapolating the pixel values while transforming the raster dataset when it undergoes warping or when it changes coordinate space.
ImageServiceParameters
  width : Number
Requested image width in pixels.
ImageServiceParameters
Public Constants
 ConstantDefined by
  INTERPOLATION_BILINEAR : String = "RSP_BilinearInterpolation"
[static]
ImageServiceParameters
  INTERPOLATION_CUBICCONVOLUTION : String = "RSP_CubicConvolution"
[static]
ImageServiceParameters
  INTERPOLATION_MAJORITY : String = "RSP_Majority"
[static]
ImageServiceParameters
  INTERPOLATION_NEARESTNEIGHBOR : String = "RSP_NearestNeighbor"
[static]
ImageServiceParameters
Property detail
bandIdsproperty
public var bandIds:Array

If there are multiple bands, you can either specify a single band to export, or you can change the band combination (red, green, blue) by specifying the band number, for example, [2, 1, 3].

compressionQualityproperty 
public var compressionQuality:Number

Controls how much loss the image will be subjected to by the compression algorithm. Valid value ranges of compression quality are from 0 to 100.

extentproperty 
public var extent:Extent

Extent of image to be exported.

formatproperty 
public var format:String

Image format. Can be set to any of the following image types: png8 | png24 | png32 | jpg | bmp | gif.

heightproperty 
public var height:Number

Requested image height in pixels.

imageSpatialReferenceproperty 
public var imageSpatialReference:SpatialReference

Spatial reference of exported map.

interpolationproperty 
public var interpolation:String

The resampling process of extrapolating the pixel values while transforming the raster dataset when it undergoes warping or when it changes coordinate space. Valid values are: RSP_BilinearInterpolation | RSP_CubicConvolution | RSP_Majority | RSP_NearestNeighbor

widthproperty 
public var width:Number

Requested image width in pixels.

Constant detail
INTERPOLATION_BILINEARconstant
public static const INTERPOLATION_BILINEAR:String = "RSP_BilinearInterpolation"

INTERPOLATION_CUBICCONVOLUTIONconstant 
public static const INTERPOLATION_CUBICCONVOLUTION:String = "RSP_CubicConvolution"

INTERPOLATION_MAJORITYconstant 
public static const INTERPOLATION_MAJORITY:String = "RSP_Majority"

INTERPOLATION_NEARESTNEIGHBORconstant 
public static const INTERPOLATION_NEARESTNEIGHBOR:String = "RSP_NearestNeighbor"