Packagecom.esri.ags.layers.supportClasses
Classpublic class ImageServiceParameters
InheritanceImageServiceParameters Inheritance Object

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

See also

com.esri.ags.layers.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
  mosaicRule : MosaicRule
Specifies the mosaic rule when defining how individual images should be mosaicked.
ImageServiceParameters
  noData : Number
The pixel value representing no information.
ImageServiceParameters
  renderingRule : RasterFunction
Specifies the rendering rule for how the requested image should be rendered.
ImageServiceParameters
  timeExtent : TimeExtent
The time instant or the time extent to export.
ImageServiceParameters
  width : Number
Requested image width in pixels.
ImageServiceParameters
Public Constants
 ConstantDefined By
  INTERPOLATION_BILINEAR : String = RSP_BilinearInterpolation
[static] Resamples pixel by bilinear interpolation.
ImageServiceParameters
  INTERPOLATION_CUBICCONVOLUTION : String = RSP_CubicConvolution
[static] Resamples pixel by cubic convolution.
ImageServiceParameters
  INTERPOLATION_MAJORITY : String = RSP_Majority
[static] Resamples pixel by majority value.
ImageServiceParameters
  INTERPOLATION_NEARESTNEIGHBOR : String = RSP_NearestNeighbor
[static] Resamples pixel by nearest neighbor.
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: jpgpng | png8 | png24 | png32 | jpg | bmp | gif. Note that support for the jpgpng format was added with ArcGIS Server 10.0. This format returns a JPG if there are no transparent pixels in the requested extent, otherwise it returns a PNG.

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

mosaicRuleproperty 
public var mosaicRule:MosaicRule

Specifies the mosaic rule when defining how individual images should be mosaicked.

noDataproperty 
public var noData:Number

The pixel value representing no information.

renderingRuleproperty 
public var renderingRule:RasterFunction

Specifies the rendering rule for how the requested image should be rendered.

timeExtentproperty 
public var timeExtent:TimeExtent

The time instant or the time extent to export. Set the TimeExtent's startTime and endTime to the same time to define a time instant.

widthproperty 
public var width:Number

Requested image width in pixels.

Constant Detail
INTERPOLATION_BILINEARConstant
public static const INTERPOLATION_BILINEAR:String = RSP_BilinearInterpolation

Resamples pixel by bilinear interpolation.

INTERPOLATION_CUBICCONVOLUTIONConstant 
public static const INTERPOLATION_CUBICCONVOLUTION:String = RSP_CubicConvolution

Resamples pixel by cubic convolution.

INTERPOLATION_MAJORITYConstant 
public static const INTERPOLATION_MAJORITY:String = RSP_Majority

Resamples pixel by majority value.

INTERPOLATION_NEARESTNEIGHBORConstant 
public static const INTERPOLATION_NEARESTNEIGHBOR:String = RSP_NearestNeighbor

Resamples pixel by nearest neighbor.