Overview
Sources
Libraries
Images API

Compose Position X compose-x

Specify the horizontal x position for compose image in relation to the source image left border.

This parameter will overwrite the horizontal 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-x value is set, the horizontal position of the compose image will be defined by compose-position parameter.

Examples

Using compose-x=0 will render the compose image on the left edge of the source image:

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

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

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