Imgix APIsVideo APIBlendingBlend Layer Padding

Blend Layer Padding

blend-pad

Sets the inset of the blend layer image from the edges of the picture. The default is 0.

A value may be given in pixels or as a fraction of each axis, following the Imgix literal rule: a whole number is pixels, so 1 is one pixel, and a decimal written with a dot from 0 to 1 is a fraction, so 1.0 is the whole axis. Pixel values are multiplied by dpr on a still output that honors it; dpr does not apply to video output. blend-pad is ignored on an axis whose blend-x or blend-y is set.

Aliases: blendpad, bp.

Use blend-pad[N] to target a specific blend layer, where N is 0–3. Layer 0 is either the bare blend-pad or blend-pad[0]; if both are supplied, the bare name wins.

On a still that honors dpr, pixel values are rounded to whole pixels before dpr is applied, so blend-pad=10.5&dpr=2 lands at 22 pixels. Fractional values are exact.