compose
Specifies an image that will be used to compose or blend over the source image.
This parameter accepts URL values.
For more information on how to specify URLs visit the URL values section.
We will use the following compose image for these examples:
GET https://assets.imglab-cdn.net/forest.jpeg x px
https://assets.imglab-cdn.net/forest.jpeg
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:
compose-scale
compose-width
compose-height
compose=forest.jpeg
GET https://assets.imglab-cdn.net/woman-03.jpeg?compose=forest.jpeg x px
https://assets.imglab-cdn.net/woman-03.jpeg?compose=forest.jpeg
Applying compose-scale=100 we will resize the compose image to fit the 100% of the source image:
compose-scale=100
GET https://assets.imglab-cdn.net/woman-03.jpeg?compose=forest.jpeg&compose-scale=100 x px
https://assets.imglab-cdn.net/woman-03.jpeg?compose=forest.jpeg&compose-scale=100