Overview
Sources
Libraries
Images API

Compose Width compose-width

Specify a number of pixels to set the width of the compose image.

Values

This parameter accepts positive integer values greater than zero.

If no value is specified for compose-width the width of the compose image will be set by compose-scale or if missing by the original width size of the compose image.

Examples

In this example we are specifying a compose-width of 600 pixels:

GET
https://assets.imglab-cdn.net/woman-03.jpeg?compose-width=600
Woman posing with gradient image used as composed image and compose width of 600 pixels.
x px

Reducing compose-width to a smaller number of 300 pixels:

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