Raster Thumbnail
- URL:https://<rastercatalogitem-url>/info/thumbnail
- Required Capability:Catalog
- Version Introduced:10.1
Description
License:As of 10.5, you must license your ArcGIS Server as an ArcGIS Image Server 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.
Request parameters
|
Parameter |
Details |
|---|---|
|
width
(Optional) |
The width of the thumbnail in pixels. Syntax: <width> Example: width=200 Added at 10.5. |
|
height
(Optional) |
The height of the thumbnail in pixels. Syntax: <height> Example: height=200 Added at 10.5. |
|
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 Added at 10.5. |
| 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 Added at 10.5. |
Example usage
Example 1: Returns raster thumbnail for raster ID 8:
JSON Response syntax
N/A
JSON Response example
N/A