Imgix APIsRendering APIWatermarkWatermark Fade

Watermark Fade

mark-fade

The mark-fade parameter softens the watermark’s edges to transparent, on every side at once. It is how a layer dissolves into the picture beneath it rather than ending at a hard rectangle.

A whole number is the edge width in pixels, multiplied by dpr. A decimal from 0 to 1 is a fraction of that side’s axis, so mark-fade=0.2 fades the outer fifth of each edge whatever the layer’s size.

It is applied to the watermark after mark-alpha, so it turns and warps with the watermark, and each tile of mark-tile=grid gets its own.

A layer’s fade never feathers a mask. The picture’s fade feathers the shape instead of the edges when mask=corners or mask=ellipse is set; a layer’s always fades its own edges.

Each layer takes its own index: mark-fade[1]=0.2.

No fade - the layer has hard edges
https://assets.imgix.net/docs/rendering-api/food-plate.jpg?w=600&h=400&fit=crop&mark=https%3A%2F%2Fassets.imgix.net%2Fexamples%2Fbluehat.jpg&mark-w=220&mark-align=bottom,center
Default