Overview
Sources
Libraries
Images API

Compose Image compose

Specifies an image that will be used to compose or blend over the source image.

Values

This parameter accepts URL values.

For more information on how to specify URLs visit the URL values section.

Examples

We will use the following compose image for these examples:

GET
https://assets.imglab-cdn.net/forest.jpeg
Pine forest image that will be used as compose.
x px

By default the compose image will be rendered using it's native size over the source image. Additionally compose-scale, compose-width and compose-height parameters can be used to change compose image size. For this example we are using the compose=forest.jpeg parameter:

GET
https://assets.imglab-cdn.net/woman-03.jpeg?compose=forest.jpeg
Woman posing with pine forest image used as composed image.
x px

Applying compose-scale=100 we will resize the compose image to fit the 100% of the source image:

GET
https://assets.imglab-cdn.net/woman-03.jpeg?compose=forest.jpeg&compose-scale=100
Woman posing with pine forest image used as composed image and a compose scale of 100%.
x px