You are here: Web API Functions > getimage > scale

scale

The scale method returns the exact requested region, scaled uniformly in both the horizontal and vertical directions until it reaches the edge of the requested bounding box.

Example: 400 x 400 bounding box request using scale method

Request:

http://demo.lizardtech.com/lizardtech/iserv/getimage?cat=Geo&item=BLM_relief.sid&wid=400&hei=400&method=scale

Result:

In this example, the resulting image is 400 x 282 pixels. The aspect ratio of the returned image remains unchanged, and the dimensions of the returned image do not exceed the requested 400 x 400 bounding box.