Skip To Content
ArcGIS Developer
Dashboard

Raster Thumbnail

Description

License:

You must license your ArcGIS Server as an ArcGIS Image Server to use this resource.

The thumbnail resource returns a thumbnail for a single raster catalog item. This resource streams the thumbnail contents to the client.

Request parameters

ParameterDetails
width

(Optional)

The width of the thumbnail in pixels.

Syntax

width=<width>

Example

width=200
height

(Optional)

The height of the thumbnail in pixels.

Syntax

height=<height>

Example

height=200
adjustAspectRatio

(Optional)

This parameter indicates whether 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

(Optional)

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

The following is a sample request URL used to access the thumbnail resource for raster ID 8:

https://machine.domain.com/webadaptor/rest/services/Portland/CascadeLandsat/ImageServer/8/thumbnail