Watermark Drop Shadow
mark-drop-shadow
The mark-drop-shadow parameter draws a shadow shaped by the watermark’s own transparency, the way drop-shadow does for the picture. It is what lifts a logo off a busy photo, or grounds a product cut-out placed into a scene.
The value is the blur in pixels — the standard deviation of a Gaussian, as in CSS — so the shadow fades over about three times the value. 0 is a hard shadow. Valid values run from 0 to 100; larger values are drawn as 100. A negative or non-numeric value draws nothing and is left out of the X-Imgix-Params response header.
The canvas never grows. Unlike the picture’s shadow, a watermark’s shadow is clipped at the image’s edge rather than expanding the output. The watermark must have transparency for the shadow to take its shape.
A translucent watermark casts the shadow of its opaque self, as translucent as the watermark itself — so mark-alpha=40 gives a 40%-strength shadow, not a full-strength one. On an animated watermark the shadow is made once and drawn under every frame.
Each layer takes its own index: mark-drop-shadow[1]=4. The unprefixed drop-shadow parameters never apply to a watermark.
