Imgix APIsRendering APIWatermarkWatermark Drop Shadow X Position

Watermark Drop Shadow X Position

mark-drop-shadow-x

The mark-drop-shadow-x parameter moves the watermark’s shadow to the right; a negative value moves it left. It defaults to 0.

A whole number is pixels, multiplied by dpr. A decimal between -1.0 and 1.0 is a fraction of the watermark’s drawn width, measured after mark-rot and any distortion — not a fraction of the picture.

It applies to mark-drop-shadow-type=flat and inset only. A cast or float shadow positions itself from the light and the watermark’s base, so this value is ignored there and left out of the X-Imgix-Params response header.

With both offsets at 0 the shadow sits evenly around the watermark, like a glow.

The default, 0 — even on both sides, like a glow
https://assets.imgix.net/examples/clouds.jpg?w=600&h=400&fit=crop&blur=2000&sat=-100&bri=-35&mark=https%3A%2F%2Fassets.imgix.net%2Fexamples%2Fblue-pineapple-no-background.png&mark-w=300&mark-align=bottom,center&mark-y=20&mark-drop-shadow=6
Default