Imgix APIsVideo APIBlendingBlend Layer Distort

Blend Layer Distort

blend-distort

Pins the four corners of the blend layer image to arbitrary positions, producing a perspective or free-transform effect.

The value is eight fractions of the picture, given as tl,tr,br,bl in x,y pairs. Each value is clamped to the range -1 to 2.

?fm=mp4&blend=logo.png&blend-distort=0.1,0.1,0.9,0.0,0.95,0.9,0.05,1.0

A quadrilateral that is not convex draws no distort.

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

A layer’s own gradient and fade are applied before its warps.