Overview
Sources
Libraries
Images API

Compose Position Y compose-y

Specify the vertical y position for compose image in relation to the source image top border.

This parameter will overwrite the vertical position value defined by compose-position

Values

This parameter accepts positive and negative integers. With negative values placing compose image outside of the source image boundaries.

If not compose-y value is set, the vertical position of the compose image will be defined by compose-position parameter.

Examples

Using compose-y=0 will render the compose image on the top edge of the source image:

GET
https://assets.imglab-cdn.net/woman-03.jpeg?compose-y=0&compose-width=300
Woman posing with gradient image used as composed image and setting a value of 0 for compose-y parameter.
x px

For this example we are using a value of 40 with compose-y=40:

GET
https://assets.imglab-cdn.net/woman-03.jpeg?compose-y=40&compose-width=300
Woman posing with gradient image used as composed image and setting a value of 40 for compose-y parameter.
x px