You are here: Web API Functions > getimage > fill

fill

The fill method satisfies both the requested region and the requested bounding box by stretching the source image to exactly fill the bounding box.

Example: 400 x 400 bounding box request using fill method

Request:

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

Result:

In this example, the returned image is 400 x 400 and the entire requested region has been stretched to fit inside. To satisfy the request, the aspect ratio has been modified, resulting in a slightly distorted image.