Raster Thumbnail

Description

LicenseLicense:

As of 10.5, you must license your ArcGIS Server as an ArcGIS Image Server in order to use this resource.

The raster thumbnail resource returns a thumbnail for a single raster catalog item.

This resource streams the thumbnail contents to the client.

Four optional request parameters were added at 10.5: width, height, adjustAspectRatio, and native.

Resource hierarchy

Raster Thumbnail

Request parameters

Parameter

Details

width

Description: The width of the thumbnail in pixels.

Syntax: <width>

Example: width=200

height

Description: The height of the thumbnail in pixels.

Syntax: <height>

Example: height=200

adjustAspectRatio

Description: This parameter indicates whether or not to adjust the aspect ratio. By default, adjustAspectRatio is false. When set to true, the thumbnail will honor the width/height ratio of the source image, and the thumbnail may be padded with NoData pixels (and the response thumbnail will be a PNG file).

Values: true | false

native

Description: This indicates that your thumbnail is a view of the native image, without any rotation, transformation, or projections. The default is false.

Values: true | false

Example usage

Example 1: Returns raster thumbnail for raster ID 8:

http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Portland/CascadeLandsat/ImageServer/8/thumbnail

JSON response syntax

N/A

            
          

JSON response example

N/A

            
          

3/3/2017